Попытка починить фронт

This commit is contained in:
Александр Кирюхин 2024-01-21 00:05:43 +03:00
parent d2b6825ea2
commit 05cd57eb2b

View file

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