From f02fc536f2059204b77e891b7dbf1a38c787d082 Mon Sep 17 00:00:00 2001 From: Elias Kohout Date: Wed, 26 Mar 2025 23:10:34 +0100 Subject: [PATCH] correcting path --- 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 82c52e7..75f05c7 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("./app/static")))) + mux.Handle("GET /static/", http.StripPrefix("/static/", http.FileServer(http.Dir("./web/static")))) return mux }