diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-12-05 00:00:47 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-12-05 14:10:16 +0300 |
| commit | 4d3bea48e11883f0fb99f2e4bb8d943fe162c687 (patch) | |
| tree | 7277670770186abc266e1fc69c984d84c43ee5b9 /web/web.go | |
| parent | d8c509b41056b9ca41725fac0bfa7515ce1f795b (diff) | |
[api] online users
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/web.go')
| -rw-r--r-- | web/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -175,7 +175,7 @@ func (s *Server) initRouter() (*gin.Engine, error) { if err != nil { return nil, err } - engine.Use(gzip.Gzip(gzip.DefaultCompression, gzip.WithExcludedPaths([]string{basePath + "xui/API/"}))) + engine.Use(gzip.Gzip(gzip.DefaultCompression, gzip.WithExcludedPaths([]string{basePath + "panel/API/"}))) assetsBasePath := basePath + "assets/" store := cookie.NewStore(secret) |
