diff --git a/server/router/frontend/frontend.go b/server/router/frontend/frontend.go index 9e589736..df333bcb 100644 --- a/server/router/frontend/frontend.go +++ b/server/router/frontend/frontend.go @@ -35,9 +35,7 @@ func (*FrontendService) Serve(_ context.Context, e *echo.Echo) { } // Route to serve the assets folder without HTML5 fallback. - e.Group("/assets").Use(middleware.GzipWithConfig(middleware.GzipConfig{ - Level: 5, - }), func(next echo.HandlerFunc) echo.HandlerFunc { + e.Group("/assets").Use(func(next echo.HandlerFunc) echo.HandlerFunc { return func(c echo.Context) error { c.Response().Header().Set(echo.HeaderCacheControl, "max-age=31536000, immutable") return next(c)