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

Steven Tey41e22f95bf4a
diff --git a/apps/web/lib/edge.ts b/apps/web/lib/edge.ts
index 551cd0f812..8e295fec99 100644
--- a/apps/web/lib/edge.ts
+++ b/apps/web/lib/edge.ts
@@ -7,9 +7,6 @@ import { userAgent } from "next/server";
*/
export async function getIdentityHash(req: Request) {
const ip = ipAddress(req) || LOCALHOST_IP;
- console.log(ip);
const ua = userAgent(req);
- const hash = await hashStringSHA256(`${ip}-${ua.ua}`);
- console.log(hash);
- return hash;
+ return await hashStringSHA256(`${ip}-${ua.ua}`);
}