Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix ts error

Steven Tey2e506b73c438
diff --git a/packages/utils/src/constants/index.ts b/packages/utils/src/constants/index.ts
index ebcbe9d28b..3c9fa00138 100644
--- a/packages/utils/src/constants/index.ts
+++ b/packages/utils/src/constants/index.ts
@@ -118,7 +118,7 @@ export const SHOW_BACKGROUND_SEGMENTS = [
export const DUB_DOMAINS = [
{
- slug: process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN,
+ slug: process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN || "dub.sh",
verified: true,
primary: true,
target: `https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,