remove rate limit headers

This commit is contained in:
wphan
2024-03-04 11:21:19 -08:00
parent 22c325232b
commit 77b626be7a

View File

@@ -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) {