Disable Gzip compression for HTTPStatsServer configuration

This commit is contained in:
Lloyd
2026-02-03 08:34:23 +00:00
parent 04ae4c9bf0
commit 3adfee5160

View File

@@ -284,8 +284,8 @@ class HTTPStatsServer:
config = {
"/": {
"tools.sessions.on": False,
"tools.gzip.on": True,
"tools.gzip.mime_types": ["application/json", "text/html", "text/plain"],
# "tools.gzip.on": True,
# "tools.gzip.mime_types": ["application/json", "text/html", "text/plain"],
# Ensure proper content types for static files
"tools.staticfile.content_types": {
'js': 'application/javascript',