From 7139d25654ffcb63fff585e83430101f969f8247 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Tue, 11 Aug 2026 21:50:31 +0200 Subject: refactor(web): extract embedded stylesheet --- web/server.go | 1 + 1 file changed, 1 insertion(+) (limited to 'web/server.go') diff --git a/web/server.go b/web/server.go index ee769f0..58f45a3 100644 --- a/web/server.go +++ b/web/server.go @@ -49,6 +49,7 @@ func NewServer(db *sql.DB, configPath string) *Server { func (s *Server) Handler() http.Handler { mux := http.NewServeMux() + mux.Handle("GET /static/", http.FileServer(http.FS(staticFiles))) mux.HandleFunc("GET /", s.handleRides) mux.HandleFunc("GET /rides/{id}", s.handleRide) mux.HandleFunc("GET /sync", s.handleSyncForm) -- cgit v1.2.3