From 81e734b8b4639c5083711fc927b93654059f824d Mon Sep 17 00:00:00 2001 From: Elias Kohout Date: Wed, 26 Mar 2025 22:40:29 +0100 Subject: [PATCH] correct static files path in app --- src/web/app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/app/app.go b/src/web/app/app.go index 9c9f138..82c52e7 100644 --- a/src/web/app/app.go +++ b/src/web/app/app.go @@ -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 }