Skip to content

Commit

Permalink
increase express.js request limit per min
Browse files Browse the repository at this point in the history
  • Loading branch information
joshsjurik committed Jan 14, 2025
1 parent 88ce2f0 commit 6b494b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const dataDictionary = require(routesPath + "data-dictionary.routes");
const router = express.Router();
let limiter = rateLimit({
windowMs: 1 * 60 * 1000, // 1 minute
max: 60, // 60 requests
max: 3600, // 3600 requests
});
router.use(limiter);
router.use("/capabilities", cap);
Expand Down

0 comments on commit 6b494b1

Please sign in to comment.