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 link.ts

Kiran Kcbe2889282da
diff --git a/apps/web/lib/middleware/link.ts b/apps/web/lib/middleware/link.ts
index 034868e1a7..c552d867f9 100644
--- a/apps/web/lib/middleware/link.ts
+++ b/apps/web/lib/middleware/link.ts
@@ -225,11 +225,6 @@ export default async function LinkMiddleware(
}
}
- // if there's still no clickId, generate a new one
- if (!clickId) {
- clickId = nanoid(16);
- }
-
const cookieData = {
name: cookieName,
value: clickId,