diff --git a/handlers/stats.go b/handlers/stats.go index fd8f440..52ca897 100644 --- a/handlers/stats.go +++ b/handlers/stats.go @@ -31,7 +31,7 @@ func Stats(w http.ResponseWriter, r *http.Request) { return } - templ := template.Must(template.ParseFiles("./static/stat.html")) + templ := template.Must(template.ParseFiles("./templs/stat.html")) db := database.ConnectDB() defer db.Close() diff --git a/static/stat.html b/templs/stat.html similarity index 100% rename from static/stat.html rename to templs/stat.html