From bf8082dbae043fd49892e35dda69bed1cb164006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=83=E9=9A=A8=E7=B7=A3=E5=8B=95?= Date: Wed, 10 Sep 2025 16:01:13 +0800 Subject: [PATCH] v2.7.2 --- web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/web.go b/web/web.go index d89da6bc..ef57a71a 100644 --- a/web/web.go +++ b/web/web.go @@ -190,7 +190,7 @@ func (s *Server) initRouter() (*gin.Engine, error) { if err != nil { return nil, err } - engine.Use(gzip.Gzip(gzip.DefaultCompression, gzip.WithExcludedPaths([]string{basePath + "panel/API/"}))) + engine.Use(gzip.Gzip(gzip.DefaultCompression, gzip.WithExcludedPaths([]string{basePath + "panel/api/"}))) assetsBasePath := basePath + "assets/" store := cookie.NewStore(secret)