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.

revert parse changes

Steven Teydfac4843823a
diff --git a/apps/web/lib/middleware/utils/parse.ts b/apps/web/lib/middleware/utils/parse.ts
index 3f84cb673a..2cafc5b744 100644
--- a/apps/web/lib/middleware/utils/parse.ts
+++ b/apps/web/lib/middleware/utils/parse.ts
@@ -1,3 +1,4 @@
+import { SHORT_DOMAIN } from "@dub/utils";
import { NextRequest } from "next/server";
export const parse = (req: NextRequest) => {
@@ -13,7 +14,7 @@ export const parse = (req: NextRequest) => {
domain = "dub-internal-test.com";
} else {
// for local development and preview URLs
- domain = "buff.ly";
+ domain = SHORT_DOMAIN;
}
}