The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
update rate limit
Steven Tey9bd0915c7c50
diff --git a/apps/web/app/api/auth/account-exists/route.ts b/apps/web/app/api/auth/account-exists/route.tsindex b260f3cfc2..72f603856b 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(5, "1 m").limit(`account-exists:${ip}`);+ const { success } = await ratelimit(8, "1 m").limit(`account-exists:${ip}`);if (!success) {return new Response("Don't DDoS me pls 🥺", { status: 429 });}