summaryrefslogtreecommitdiff
path: root/cmd/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dashboard')
-rw-r--r--cmd/dashboard/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go
index 58f954d..de3fb7c 100644
--- a/cmd/dashboard/main.go
+++ b/cmd/dashboard/main.go
@@ -103,7 +103,7 @@ func main() {
r.Post("/logout", authHandlers.HandleLogout)
// Serve static files (public)
- fileServer := http.FileServer(http.Dir("web/static"))
+ fileServer := http.FileServer(http.Dir(cfg.StaticDir))
r.Handle("/static/*", http.StripPrefix("/static/", fileServer))
// Protected routes (auth required)