Also serve /index.html for the service worker
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2021-08-13 17:38:26 +02:00
parent a088fb860b
commit d4bfdf59b5

View File

@ -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))