remove comment
This commit is contained in:
@@ -140,14 +140,7 @@ var serveCmd = &cobra.Command{
|
|||||||
app.LoadConfiguration(cfg)
|
app.LoadConfiguration(cfg)
|
||||||
|
|
||||||
srv := app.Server()
|
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)
|
router := api.NewRouter(cfg)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user