diff --git a/cmd/serve.go b/cmd/serve.go index d9b5240..d5c4bd5 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -140,14 +140,7 @@ var serveCmd = &cobra.Command{ app.LoadConfiguration(cfg) srv := app.Server() - //mux := http.NewServeMux() - - // static files - // staticPath := cfg.Server.StaticFilesPath - // slog.Debug("Setting up static file server", slog.String("path", staticPath)) - // fs := http.FileServer(http.Dir(staticPath)) - // mux.Handle("/static/", http.StripPrefix("/static/", fs)) - // handler := loggingMiddleware(mux) + router := api.NewRouter(cfg)