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 comment

Steven Tey4e0c1d8eeda7
diff --git a/apps/web/lib/middleware/link.ts b/apps/web/lib/middleware/link.ts
index d4e7beb024..17513fead3 100644
--- a/apps/web/lib/middleware/link.ts
+++ b/apps/web/lib/middleware/link.ts
@@ -135,7 +135,7 @@ export default async function LinkMiddleware(
const { country } =
process.env.VERCEL === "1" && req.geo ? req.geo : LOCALHOST_GEO_DATA;
- // rewrite to proxy page (/_proxy/[domain]/[key]) if it's a bot and proxy is enabled
+ // rewrite to proxy page (/proxy/[domain]/[key]) if it's a bot and proxy is enabled
if (isBot && proxy) {
return NextResponse.rewrite(
new URL(`/proxy/${domain}/${encodeURIComponent(key)}`, req.url),