The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix tests
Steven Teyf00262dd6f5e
diff --git a/apps/web/lib/auth/workspace.ts b/apps/web/lib/auth/workspace.tsindex 8dbff7f797..3998f201bc 100644--- a/apps/web/lib/auth/workspace.ts+++ b/apps/web/lib/auth/workspace.ts@@ -103,7 +103,7 @@ export const withWorkspace = (// special case for anonymous link creationif (req.headers.has("dub-anonymous-link-creation") &&- req.nextUrl.pathname === "/links"+ ["/links", "/api/links"].includes(req.nextUrl.pathname)) {// @ts-expect-errorreturn await handler({