Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

keep the rate low

Kiran Ke45100e5afcf
diff --git a/apps/web/app/api/auth/account-exists/route.ts b/apps/web/app/api/auth/account-exists/route.ts
index aaa10ed5b2..b260f3cfc2 100644
--- a/apps/web/app/api/auth/account-exists/route.ts
+++ b/apps/web/app/api/auth/account-exists/route.ts
@@ -8,7 +8,7 @@ export const runtime = "edge";
export async function POST(req: NextRequest) {
const ip = ipAddress(req);
- const { success } = await ratelimit(10, "1 m").limit(`account-exists:${ip}`);
+ const { success } = await ratelimit(5, "1 m").limit(`account-exists:${ip}`);
if (!success) {
return new Response("Don't DDoS me pls 🥺", { status: 429 });
}