correct static files path in app
All checks were successful
Build and Push Docker Container / build-and-push (push) Successful in 40s

This commit is contained in:
2025-03-26 22:40:29 +01:00
parent 401ac01ba2
commit 81e734b8b4

View File

@@ -35,7 +35,7 @@ func (app *App) Routes() http.Handler {
mux.Handle("GET /article/{id}", http.HandlerFunc(app.Article))
// serve files from the "static" directory
mux.Handle("GET /static/", http.StripPrefix("/static/", http.FileServer(http.Dir("./assets/static"))))
mux.Handle("GET /static/", http.StripPrefix("/static/", http.FileServer(http.Dir("./app/static"))))
return mux
}