mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-08-07 01:13:11 +02:00
Merge pull request #80 from dmduran12/feature/bulk-packets-gzip
This commit is contained in:
@@ -299,6 +299,12 @@ class HTTPStatsServer:
|
||||
"/api": {
|
||||
"tools.require_auth.on": True,
|
||||
},
|
||||
# Enable gzip for bulk packet downloads
|
||||
"/api/bulk_packets": {
|
||||
"tools.gzip.on": True,
|
||||
"tools.gzip.mime_types": ["application/json"],
|
||||
"tools.gzip.compress_level": 6,
|
||||
},
|
||||
# Public documentation endpoints (no auth required)
|
||||
"/api/openapi": {
|
||||
"tools.require_auth.on": False,
|
||||
|
||||
Reference in New Issue
Block a user