fix: max limit

This commit is contained in:
Artemy 2023-04-19 18:10:03 +03:00
parent a07ea54631
commit f9528ed8d5

View file

@ -16,7 +16,7 @@ const app = express(),
const limiter = rateLimit({ const limiter = rateLimit({
windowMs: 24 * 60 * 60 * 1000, // one day limit windowMs: 24 * 60 * 60 * 1000, // one day limit
max: 5, max: 10,
standardHeaders: true, standardHeaders: true,
legacyHeaders: false, legacyHeaders: false,
}); });