diff --git a/worker/src/worker.js b/worker/src/worker.js index 80467450..a8f8c964 100644 --- a/worker/src/worker.js +++ b/worker/src/worker.js @@ -30,9 +30,11 @@ app.use('/api/*', async (c, next) => { return c.text(`IP=${reqIp} Rate limit exceeded for ${c.req.path}`, 429) } } + } + if (c.req.path.startsWith("/api/new_address")) { await next(); return; - }; + } return jwt({ secret: c.env.JWT_SECRET })(c, next); });