moved html and css out to seperate files.
This commit is contained in:
parent
a4c02cdbc1
commit
f9cfd3fc3b
5 changed files with 152 additions and 126 deletions
1
main.go
1
main.go
|
|
@ -25,6 +25,7 @@ func main() {
|
|||
mux.HandleFunc("/browse/", h.BrowseISO)
|
||||
mux.HandleFunc("/file/", h.DownloadFile)
|
||||
mux.HandleFunc("/raw/", h.RawFile)
|
||||
mux.HandleFunc("/static/", h.ServeStatic)
|
||||
mux.HandleFunc("/", h.ListISOs)
|
||||
|
||||
fmt.Printf("ISOSilo running at %s\n", *addr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue