diff --git a/main.go b/main.go index d7bd649..cd8552e 100644 --- a/main.go +++ b/main.go @@ -152,9 +152,9 @@ func main() { api.RegisterHandlersWithBaseURL(codegen, handler, "/api") - e.StaticFS("/", distDirFS) e.FileFS("/", "index.html", distIndexHtml) e.FileFS("/*", "index.html", distIndexHtml) + e.StaticFS("/", distDirFS) // --[ System ]-- e.GET("/metrics", echoprometheus.NewHandler())