|
@@ -200,7 +200,7 @@ func (s *Server) initRouter() (*gin.Engine, error) {
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return nil, err
|
|
return nil, err
|
|
|
}
|
|
}
|
|
|
- engine.Use(gzip.Gzip(gzip.DefaultCompression, gzip.WithExcludedPaths([]string{basePath + "panel/api/"})))
|
|
|
|
|
|
|
+ engine.Use(gzip.Gzip(gzip.DefaultCompression))
|
|
|
assetsBasePath := basePath + "assets/"
|
|
assetsBasePath := basePath + "assets/"
|
|
|
|
|
|
|
|
store := cookie.NewStore(secret)
|
|
store := cookie.NewStore(secret)
|