The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
free plan check
Kiran K44472fc9efb1
diff --git a/apps/web/app/api/domains/[domain]/route.ts b/apps/web/app/api/domains/[domain]/route.tsindex 629aeb3598..4c0e6112be 100644--- a/apps/web/app/api/domains/[domain]/route.ts+++ b/apps/web/app/api/domains/[domain]/route.ts@@ -61,12 +61,20 @@ export const PATCH = withWorkspace(} = updateDomainBodySchema.parse(await parseRequestBody(req));if (workspace.plan === "free") {- if (logo || expiredUrl || notFoundUrl) {+ if (+ logo ||+ expiredUrl ||+ notFoundUrl ||+ assetLinks ||+ appleAppSiteAssociation+ ) {const proFeaturesString = combineWords([logo && "custom QR code logos",expiredUrl && "default expiration URLs",notFoundUrl && "not found URLs",+ assetLinks && "asset links",+ appleAppSiteAssociation && "Apple App Site Association",].filter(Boolean) as string[],);diff --git a/apps/web/app/api/domains/route.ts b/apps/web/app/api/domains/route.tsindex 067e597217..7868a75dc4 100644--- a/apps/web/app/api/domains/route.ts+++ b/apps/web/app/api/domains/route.ts@@ -109,12 +109,20 @@ export const POST = withWorkspace(}if (workspace.plan === "free") {- if (logo || expiredUrl || notFoundUrl) {+ if (+ logo ||+ expiredUrl ||+ notFoundUrl ||+ assetLinks ||+ appleAppSiteAssociation+ ) {const proFeaturesString = combineWords([logo && "custom QR code logos",expiredUrl && "default expiration URLs",notFoundUrl && "not found URLs",+ assetLinks && "asset links",+ appleAppSiteAssociation && "Apple App Site Association",].filter(Boolean) as string[],);