The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
removed NEXT_PUBLIC_DEMO_APP env var
Steven Tey09da65d434ab
diff --git a/components/link-card.tsx b/components/link-card.tsxindex e15f40af16..4a83f7f912 100644--- a/components/link-card.tsx+++ b/components/link-card.tsx@@ -13,9 +13,7 @@ export default function LinkCard({url: string;}) {const shortURL = `${- process.env.NEXT_PUBLIC_DEMO_APP === "1"- ? "https://dub.sh"- : process.env.VERCEL === "1"+ process.env.VERCEL === "1"? process.env.VERCEL_URL: "http://localhost:3000"}/${key}`; // if you're self-hosting you can just replace this with your own domain