From 5dbd944371cf0b3c7f7a5e615abdefeb8e12d752 Mon Sep 17 00:00:00 2001 From: dreamhunter2333 Date: Mon, 24 Aug 2026 00:20:51 +0800 Subject: [PATCH] style: group user send rate limit condition --- worker/src/worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/src/worker.ts b/worker/src/worker.ts index 9c19ee1..9f4d47f 100644 --- a/worker/src/worker.ts +++ b/worker/src/worker.ts @@ -65,7 +65,7 @@ app.use('/*', async (c, next) => { c.req.path.startsWith("/api/new_address") || c.req.path.startsWith("/api/send_mail") || c.req.path.startsWith("/external/api/send_mail") - || c.req.path.startsWith("/user_api/address/") && c.req.path.endsWith("/send_mail") + || (c.req.path.startsWith("/user_api/address/") && c.req.path.endsWith("/send_mail")) || c.req.path.startsWith("/user_api/register") || c.req.path.startsWith("/user_api/verify_code") ) {