diff --git a/handlers.go b/handlers.go index 27c0117..9a6db10 100644 --- a/handlers.go +++ b/handlers.go @@ -44,7 +44,7 @@ func (app *Application) indexHandler(w http.ResponseWriter, r *http.Request) { if fileInfo, err := os.Stat(path); err == nil && !fileInfo.IsDir() { http.ServeFile(w, r, path) } else { - http.StripPrefix("/", http.FileServer(http.Dir("static"))).ServeHTTP(w, r) + http.StripPrefix("/", http.FileServer(http.Dir("./static"))).ServeHTTP(w, r) } }