Also serve /index.html for the service worker
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a088fb860b
commit
d4bfdf59b5
|
@ -13,6 +13,7 @@ import (
|
|||
|
||||
func DeclareRoutes(cfg *config.Options, router *gin.Engine) {
|
||||
router.GET("/", serveOrReverse("/", cfg))
|
||||
router.GET("/index.html", serveOrReverse("/", cfg))
|
||||
|
||||
// Routes handled by the showcase
|
||||
router.GET("/en/*_", serveOrReverse("/", cfg))
|
||||
|
|
Loading…
Reference in New Issue
Block a user