Skip to content

Commit

Permalink
Merge pull request jason5ng32#191 from jason5ng32/dev
Browse files Browse the repository at this point in the history
Improvements
  • Loading branch information
jason5ng32 authored Apr 27, 2024
2 parents 580e488 + 42ee2d7 commit 1f137dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function logLimitedIP(ip) {
}

const apiLimiter = rateLimit({
windowMs: 60 * 60 * 1000,
windowMs: 20 * 60 * 1000,
max: parseInt(rateLimitSet, 10),
message: 'Too Many Requests',
handler: (req, res, next) => {
Expand Down

0 comments on commit 1f137dd

Please sign in to comment.