embed html template and static files

This commit is contained in:
ari melody 2025-09-30 19:03:35 +01:00
parent b150fa491c
commit e5dcc4b884
Signed by: ari
GPG key ID: CF99829C92678188
44 changed files with 316 additions and 255 deletions

View file

@ -40,6 +40,6 @@ func IndexHandler(app *model.AppState) http.Handler {
return
}
StaticHandler("public").ServeHTTP(w, r)
ServeEmbedFS(app.PublicFS, "public").ServeHTTP(w, r)
})
}