Попытка починить фронт
This commit is contained in:
parent
d2b6825ea2
commit
05cd57eb2b
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue