+1
-1
@@ -214,7 +214,7 @@ func main() {
|
||||
}
|
||||
})
|
||||
|
||||
// Static PWA from dist/ next to the binary (CI copies web/dist → dist); HTML5 mode falls back to index.html for SPA routes.
|
||||
// Static PWA from dist/ (built by make web); HTML5 mode falls back to index.html for SPA routes.
|
||||
e.Use(middleware.StaticWithConfig(middleware.StaticConfig{
|
||||
Root: "dist",
|
||||
HTML5: true,
|
||||
|
||||
Reference in New Issue
Block a user