The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Fixed api path omission (h/t to @tobias-mintlify for the PR on vercel/platforms)
Steven Teya0eca6a7f03d
diff --git a/middleware.ts b/middleware.tsindex a6067f96ce..0752cd8646 100644--- a/middleware.ts+++ b/middleware.ts@@ -16,14 +16,14 @@ export const config = {matcher: [/** Match all paths except for:- * 1. /api routes+ * 1. /api/ routes* 2. /_next (Next.js internals)* 3. /_proxy & /_auth (special pages for OG tag proxying and password protection)* 4. /_static (inside /public)* 5. /_vercel (Vercel internals)* 6. all root files inside /public (e.g. /favicon.ico)*/- "/((?!api|_next|_proxy|_auth|_static|_vercel|[\\w-]+\\.\\w+).*)",+ "/((?!api/|_next|_proxy|_auth|_static|_vercel|[\\w-]+\\.\\w+).*)",],};