The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Exclude `/api/:path*` for non `.dub.co` domains
Steven Tey3b4edc7e5059
diff --git a/apps/web/next.config.js b/apps/web/next.config.jsindex 0f24ec7a77..e45f11b88c 100644--- a/apps/web/next.config.js+++ b/apps/web/next.config.js@@ -135,6 +135,17 @@ module.exports = withPlausibleProxy({},async redirects() {return [+ {+ source: "/api/:path*",+ missing: [+ {+ type: "host",+ value: ".*(\\.dub\\.co|localhost)",+ },+ ],+ destination: "/",+ permanent: false,+ },{source: "/",has: [