This commit is contained in:
2
main.go
2
main.go
@@ -78,7 +78,7 @@ func main() {
|
||||
mux := http.NewServeMux()
|
||||
mux.HandleFunc("/", handleIndex)
|
||||
mux.HandleFunc("/api/status", handleAPIStatus)
|
||||
mux.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("/data/static"))))
|
||||
mux.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("/static"))))
|
||||
|
||||
log.Printf("VocalForge status dashboard listening on %s (DB=%s)", HTTP_PORT, dbDsn)
|
||||
|
||||
|
Reference in New Issue
Block a user