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.

replaced va with _vercel

Steven Tey9291962c0fb1
diff --git a/middleware.ts b/middleware.ts
index 6f0fd60d75..0f68bb7c1a 100644
--- a/middleware.ts
+++ b/middleware.ts
@@ -19,9 +19,10 @@ export const config = {
* 2. /_next (Next.js internals)
* 3. /_proxy & /_auth (special pages for OG tag proxying and password protection)
* 4. /_static (inside /public)
- * 5. all root files inside /public (e.g. /favicon.ico)
+ * 5. /_vercel (Vercel internals)
+ * 6. all root files inside /public (e.g. /favicon.ico)
*/
- "/((?!api|_next|_proxy|_auth|_static|va|[\\w-]+\\.\\w+).*)",
+ "/((?!api|_next|_proxy|_auth|_static|_vercel|[\\w-]+\\.\\w+).*)",
],
};