parent
4a59767044
commit
11fc44d235
1 changed files with 1 additions and 0 deletions
1
ui/ui.go
1
ui/ui.go
|
@ -40,6 +40,7 @@ func Register(r gin.IRouter, nZones int32) {
|
|||
uiAssets := r.Group("/assets", middleware.Cache)
|
||||
|
||||
r.GET("/", indexHandler)
|
||||
r.GET("/:path", indexHandler)
|
||||
r.GET("/index.html", indexHandler)
|
||||
|
||||
uiAssets.StaticFS("/", http.FS(subFS(distFS(), "assets")))
|
||||
|
|
Loading…
Add table
Reference in a new issue