diff --git a/src/helpers/rateLimit.ts b/src/helpers/rateLimit.ts index 93d549ea..c0bcd08e 100644 --- a/src/helpers/rateLimit.ts +++ b/src/helpers/rateLimit.ts @@ -7,6 +7,7 @@ export default rateLimit({ max: 60, keyGenerator: req => getIp(req), standardHeaders: true, + legacyHeaders: false, skip: (req, res) => { const keycardData = res.locals.keycardData; if (keycardData?.valid && !keycardData.rateLimited) {