From 649094b0616c57ed6d997cb6d414e36f372f1015 Mon Sep 17 00:00:00 2001 From: potados99 Date: Tue, 5 Oct 2021 09:44:11 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=9C=B4=EB=8C=80=EC=A0=84=ED=99=94=20?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=EB=9D=BC=EC=9A=B0=ED=8A=B8=201?= =?UTF-8?q?=EB=B6=84=EC=97=90=2020=EB=B6=84=EC=9C=BC=EB=A1=9C=20=EC=A0=9C?= =?UTF-8?q?=ED=95=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/infrastructure/webserver/libs/route.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/infrastructure/webserver/libs/route.ts b/lib/infrastructure/webserver/libs/route.ts index e911c257..5608807a 100644 --- a/lib/infrastructure/webserver/libs/route.ts +++ b/lib/infrastructure/webserver/libs/route.ts @@ -36,8 +36,8 @@ export function defineRoute( } export const apiLimiter = rateLimit({ - windowMs: 1000 * 60 * 5, // 5분에 - max: 15, // 15번 + windowMs: 1000 * 60 * 1, // 1분에 + max: 20, // 20번 handler(req, res, next) { res.status(429).json({ statusCode: 429,