From f9528ed8d547b84a9cd8f915bdd8bfef1aff4a67 Mon Sep 17 00:00:00 2001 From: Artemy Date: Wed, 19 Apr 2023 18:10:03 +0300 Subject: [PATCH] fix: max limit --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 770de0f..ec5e853 100644 --- a/index.js +++ b/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, });