diff options
| author | Dhravya Shah <[email protected]> | 2025-01-23 19:05:33 -0700 |
|---|---|---|
| committer | Dhravya Shah <[email protected]> | 2025-01-23 19:05:33 -0700 |
| commit | 12b26382094c0faf27bfb94ec50564e966a22993 (patch) | |
| tree | 1841c3a6d59dd662e3c065422fe01ba4937008be /apps/backend/src/index.tsx | |
| parent | import tools: CSV and markdown (obsidian) (diff) | |
| download | supermemory-chunking-and-retrieval.tar.xz supermemory-chunking-and-retrieval.zip | |
De duplication and updating chunkschunking-and-retrieval
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 |