From 05cd57eb2bce40623ff1aa42d7975a9bbf8305f5 Mon Sep 17 00:00:00 2001 From: NeonXP Date: Sun, 21 Jan 2024 00:05:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=8B=D1=82=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=87=D0=B8=D0=BD=D0=B8=D1=82=D1=8C=20=D1=84=D1=80?= =?UTF-8?q?=D0=BE=D0=BD=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())