This commit is contained in:
jdl
2026-06-15 19:06:12 +02:00
parent 458e1ac603
commit c47d00e694
7 changed files with 13 additions and 13 deletions

View File

@@ -3,7 +3,7 @@ package hub
import "net/http"
func (a *App) registerRoutes() {
a.mux.Handle("GET /static/", http.FileServerFS(staticFS))
a.mux.Handle("GET /static/", withLogging(http.FileServerFS(staticFS).ServeHTTP))
a.handlePub("GET /", a._root)
a.handleNotSignedIn("GET /sign-in/", a._signin)