The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update links.ts
Steven Teyba31cfc9a56e
diff --git a/apps/web/lib/api/links.ts b/apps/web/lib/api/links.tsindex f286ca7c92..6cad7e1451 100644--- a/apps/web/lib/api/links.ts+++ b/apps/web/lib/api/links.ts@@ -221,6 +221,7 @@ export async function processLink({url,image,proxy,+ password,rewrite,expiresAt,ios,@@ -247,11 +248,11 @@ export async function processLink({// free plan restrictionsif (!project || project.plan === "free") {- if (proxy || rewrite || expiresAt || ios || android || geo) {+ if (proxy || password || rewrite || expiresAt || ios || android || geo) {return {link: payload,error:- "You can only use link cloaking, custom social media cards, link expiration, device and geo targeting on a Pro plan and above. Upgrade to Pro to use these features.",+ "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,};}