Skip to content

Commit 0c79f27

Browse files
committed
Update server.js
1 parent 6f43ee1 commit 0c79f27

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const app = express();
1111
const port = process.env.PORT || 3000;
1212

1313
const limiter = rateLimit({
14-
windowMs: 15 * 60 * 1000,
15-
max: 100,
14+
windowMs: 10 * 60 * 1000,
15+
max: 10,
1616
message: 'You requested too much! PLEASE STOP!',
1717
standardHeaders: true,
1818
legacyHeaders: false,

0 commit comments

Comments
 (0)