From 13c28734595e85ef130c15107af786d5edb9adc7 Mon Sep 17 00:00:00 2001 From: Cizz22 Date: Thu, 9 Oct 2025 22:32:35 +0700 Subject: [PATCH] gzip --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index cfc2ae9..5170af2 100644 --- a/src/main.py +++ b/src/main.py @@ -46,7 +46,7 @@ app = FastAPI( ) app.state.limiter = limiter app.add_exception_handler(RateLimitExceeded, _rate_limit_exceeded_handler) -app.add_middleware(GZipMiddleware, minimum_size=2000) +app.add_middleware(GZipMiddleware, minimum_size=1000) # credentials: "include",