The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
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.tsindex 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 });}