The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
allow all date range for demo links
Steven Teydd32562214a9
diff --git a/apps/web/ui/analytics/toggle.tsx b/apps/web/ui/analytics/toggle.tsxindex 4c9c521195..78e3b9adcd 100644--- a/apps/web/ui/analytics/toggle.tsx+++ b/apps/web/ui/analytics/toggle.tsx@@ -37,6 +37,7 @@ import {import {APP_DOMAIN,COUNTRIES,+ DUB_DEMO_LINKS,DUB_LOGO,GOOGLE_FAVICON_URL,capitalize,@@ -575,7 +576,11 @@ export default function Toggle() {const end = new Date();const requiresUpgrade =- admin || demo+ admin ||+ demo ||+ DUB_DEMO_LINKS.find(+ (l) => l.domain === domain && l.key === key,+ )? false: !validDateRangeForPlan({plan,diff --git a/packages/utils/src/constants/index.ts b/packages/utils/src/constants/index.tsindex f3cd5a62aa..f7724a5654 100644--- a/packages/utils/src/constants/index.ts+++ b/packages/utils/src/constants/index.ts@@ -164,6 +164,11 @@ export const DUB_DOMAINS_ARRAY = DUB_DOMAINS.map((domain) => domain.slug);export const DUB_DEMO_LINKS = [{id: "clqo10sum0006js08vutzfxt3",+ domain: "d.to",+ key: "try",+ },+ {+ id: "cltshzzpd0005126z3rd2lvo4",domain: "dub.sh",key: "try",},