The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Merge branch 'main' into feat/improve-api
Steven Teyd2dc1463d2b0
diff --cc apps/web/lib/api/links.tsindex 973c392091,85167cb528..7ce98d039e--- a/apps/web/lib/api/links.ts+++ b/apps/web/lib/api/links.ts@@@ -304,19 -305,8 +304,9 @@@ export async function processLink(error:"You can only use custom social media cards, password-protection, link cloaking, link expiration, device and geo targeting on a Pro plan and above. Upgrade to Pro to use these features.",status: 403,+ code: "forbidden",};}- // can't use `/` in key on free plan- if (key?.includes("/") || payload["prefix"]) {- return {- link: payload,- error:- "Key cannot contain '/'. You can only use key prefixes on a Pro plan and above. Upgrade to Pro to use this feature.",- status: 422,- code: "unprocessable_entity",- };- }}// if domain is not defined, set it to the project's primary domain