diff options
Diffstat (limited to 'apps/backend/src/index.tsx')
| -rw-r--r-- | apps/backend/src/index.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/backend/src/index.tsx b/apps/backend/src/index.tsx index cb63e53e..dea96448 100644 --- a/apps/backend/src/index.tsx +++ b/apps/backend/src/index.tsx @@ -48,6 +48,10 @@ export const app = new Hono<{ Variables: Variables; Bindings: Env }>() .use("/api/*", (c, next) => { const user = c.get("user"); + if (c.env.NODE_ENV === "development") { + return next(); + } + // RATELIMITS const rateLimitConfig = { // Endpoints that bypass rate limiting |