From 78edbcd34537bd11881852129ae13ac11069b07c Mon Sep 17 00:00:00 2001 From: Phumrapee Limpianchop Date: Sat, 17 Feb 2024 18:10:42 +0900 Subject: [PATCH] disable rate limit --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 548310d..178f3a0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,7 +10,7 @@ import { model } from './models' const app = new Elysia() .use(cors()) - .use( + /** .use( rateLimit({ duration: 60 * 60 * 1000, // 1 hour max: 500, // 500 req per hour @@ -22,7 +22,7 @@ const app = new Elysia() ) }, }) - ) + ) */ .use( swagger({ exclude: ['/', '/ping'],