The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
more debug logs
Steven Tey6b6b0b647ad4
diff --git a/pages/api/projects/[slug]/domains/[domain]/links/[key]/revalidate.ts b/pages/api/projects/[slug]/domains/[domain]/links/[key]/revalidate.tsindex 98e9c44e52..b43dc6fdc8 100644--- a/pages/api/projects/[slug]/domains/[domain]/links/[key]/revalidate.ts+++ b/pages/api/projects/[slug]/domains/[domain]/links/[key]/revalidate.ts@@ -12,6 +12,7 @@ export default async function handler(res.setHeader("Access-Control-Allow-Origin", "*");res.setHeader("Access-Control-Allow-Methods", "PUT");+ console.log("passed CORS", domain, key, req.headers.host);try {await res.revalidate(`/proxy/${domain}/${key}`);