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 Tey635dbaec1ba0
diff --git a/apps/web/lib/middleware/utils/parse.ts b/apps/web/lib/middleware/utils/parse.ts
index e5c1b07908..1097b1043c 100644
--- a/apps/web/lib/middleware/utils/parse.ts
+++ b/apps/web/lib/middleware/utils/parse.ts
@@ -9,7 +9,7 @@ export const parse = (req: NextRequest) => {
// remove www. from domain and convert to lowercase
domain = domain.replace(/^www./, "").toLowerCase();
if (domain === "dub.localhost:8888" || domain.endsWith(".vercel.app")) {
- if (path === "cAsE") {
+ if (path === "/cAsE") {
// special case for case-sensitive link test
domain = "dub-internal-test.com";
} else {