Shun Miyazawa 4 년 전
부모
커밋
7d23afd220
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/app/src/server/routes/apiv3/activity.ts

+ 1 - 1
packages/app/src/server/routes/apiv3/activity.ts

@@ -27,7 +27,7 @@ const validator = {
 const apiLimiter = rateLimit({
   windowMs: 15 * 60 * 1000, // 15 minutes
   // todo restore 100000 -> 30
-  max: 100000, // limit each IP to 30 requests per windowMs
+  max: 30, // limit each IP to 30 requests per windowMs
   message:
     'Too many requests sent from this IP, please try again after 15 minutes.',
 });