remove rate limit headers
This commit is contained in:
@@ -125,7 +125,7 @@ if (!FEATURE_FLAGS.DISABLE_RATE_LIMIT) {
|
|||||||
rateLimit({
|
rateLimit({
|
||||||
windowMs: 1000, // 1 second
|
windowMs: 1000, // 1 second
|
||||||
max: rateLimitCallsPerSecond,
|
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
|
legacyHeaders: false, // Disable the `X-RateLimit-*` headers
|
||||||
skip: (req, _res) => {
|
skip: (req, _res) => {
|
||||||
if (!loadTestAllowed) {
|
if (!loadTestAllowed) {
|
||||||
|
|||||||
Reference in New Issue
Block a user