The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update route.ts
Kiran K395f13df43ee
diff --git a/apps/web/app/(ee)/api/track/click/route.ts b/apps/web/app/(ee)/api/track/click/route.tsindex 92d81f1b38..9aff771ab2 100644--- a/apps/web/app/(ee)/api/track/click/route.ts+++ b/apps/web/app/(ee)/api/track/click/route.ts@@ -131,7 +131,7 @@ export const POST = withAxiom(async (req: AxiomRequest) => {if (!allowRequest) {throw new DubApiError({code: "forbidden",- message: `Request origin '${getHostnameFromRequest(req)}' is not included in the allowed hostnames for this workspace (${cachedAllowedHostnames.join(", ")}). Update your allowed hostnames here: https://app.dub.co/settings/analytics`,+ message: `Request origin '${getHostnameFromRequest(req)}' is not included in the allowed hostnames for this workspace. Update your allowed hostnames here: https://app.dub.co/settings/analytics`,});}