From dddf56a2d62738cf9d664591fba7ecb0ec9f9a57 Mon Sep 17 00:00:00 2001 From: cangui Date: Sat, 21 Jun 2025 18:51:32 +0200 Subject: [PATCH] UP --- internal/route/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/route/main.go b/internal/route/main.go index d27337d..8b929ff 100644 --- a/internal/route/main.go +++ b/internal/route/main.go @@ -63,6 +63,8 @@ func RoutesPublic(r *mux.Router, bd *gorm.DB) { r.PathPrefix("/templates/assets/").Handler( http.StripPrefix("/templates/assets/", http.FileServer(http.Dir(staticDir))), ) + r.PathPrefix("/static/").Handler( + http.StripPrefix("/static/", http.FileServer(http.Dir("./static")))) // Page de login r.HandleFunc("/login", renders.Login)