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.

Update utils.ts

Steven Teyd8b2108d24ed
diff --git a/apps/web/lib/middleware/utils.ts b/apps/web/lib/middleware/utils.ts
index 958675a76e..2aed52aa14 100644
--- a/apps/web/lib/middleware/utils.ts
+++ b/apps/web/lib/middleware/utils.ts
@@ -5,7 +5,7 @@ export const parse = (req: NextRequest) => {
domain = domain.replace("www.", ""); // remove www. from domain
if (domain === "dub.localhost:8888" || domain.endsWith(".vercel.app")) {
// for local development and preview URLs
- domain = "apwr.dev";
+ domain = "dub.sh";
}
// path is the path of the URL (e.g. dub.co/stats/github -> /stats/github)