mirror of
https://github.com/artegoser/AnoPaper.git
synced 2024-11-25 05:16:21 +03:00
fix: max limit
This commit is contained in:
parent
a07ea54631
commit
f9528ed8d5
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -16,7 +16,7 @@ const app = express(),
|
|||
|
||||
const limiter = rateLimit({
|
||||
windowMs: 24 * 60 * 60 * 1000, // one day limit
|
||||
max: 5,
|
||||
max: 10,
|
||||
standardHeaders: true,
|
||||
legacyHeaders: false,
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue