From 77b626be7ab0e3f71820e3a84bb40af42d02181d Mon Sep 17 00:00:00 2001 From: wphan Date: Mon, 4 Mar 2024 11:21:19 -0800 Subject: [PATCH] remove rate limit headers --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 764b6e2..8824173 100644 --- a/src/index.ts +++ b/src/index.ts @@ -125,7 +125,7 @@ if (!FEATURE_FLAGS.DISABLE_RATE_LIMIT) { rateLimit({ windowMs: 1000, // 1 second max: rateLimitCallsPerSecond, - standardHeaders: true, // Return rate limit info in the `RateLimit-*` headers + standardHeaders: false, // Return rate limit info in the `RateLimit-*` headers legacyHeaders: false, // Disable the `X-RateLimit-*` headers skip: (req, _res) => { if (!loadTestAllowed) {