Skip to content

Commit

Permalink
Merge pull request #2 from con-cis/dependabot/npm_and_yarn/express-ra…
Browse files Browse the repository at this point in the history
…te-limit-7.0.1

Bump express-rate-limit from 6.11.2 to 7.0.1
  • Loading branch information
con-cis authored Sep 18, 2023
2 parents 5771e4f + cd8260d commit f2bb0fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require("dotenv").config();

const apiLimiter = rateLimit({
windowMs: 15 * 60 * 1000,
max: 50,
limit: 50,
standardHeaders: true,
legacyHeaders: false,
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-rate-limit": "^6.11.2",
"express-rate-limit": "^7.0.1",
"express-validator": "^7.0.1",
"mongoose": "^7.5.1"
},
Expand Down

0 comments on commit f2bb0fa

Please sign in to comment.