rollback: go:embed for static files

This commit is contained in:
ari melody 2025-10-21 23:37:31 +01:00
parent 70b329c902
commit ef3f3c5428
Signed by: ari
GPG key ID: CF99829C92678188
5 changed files with 15 additions and 11 deletions

View file

@ -38,6 +38,7 @@ func IndexHandler(app *model.AppState) http.Handler {
return
}
ServeEmbedFS(app.PublicFS, "public").ServeHTTP(w, r)
http.FileServer(http.Dir("./public")).ServeHTTP(w, r)
//ServeEmbedFS(app.PublicFS, "public").ServeHTTP(w, r)
})
}