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.

missed a spot

Steven Teya64897c37c0b
diff --git a/lib/constants/index.ts b/lib/constants/index.ts
index 6728aa25ff..e5baf4be96 100644
--- a/lib/constants/index.ts
+++ b/lib/constants/index.ts
@@ -42,7 +42,7 @@ export const HOME_DOMAIN =
process.env.NEXT_PUBLIC_VERCEL_ENV === "production"
? "https://dub.sh"
: process.env.NEXT_PUBLIC_VERCEL_ENV === "preview"
- ? (process.env.NEXT_PUBLIC_VERCEL_URL as string)
+ ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}`
: "http://localhost:3000";
export const APP_HOSTNAMES = new Set([