The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update next.config.js
Steven Tey769dcb31f34f
diff --git a/next.config.js b/next.config.jsindex 60bde950f9..7eb79f65a4 100644--- a/next.config.js+++ b/next.config.js@@ -78,6 +78,30 @@ const nextConfig = {permanent: true,statusCode: 301,},+ {+ source: "/",+ has: [+ {+ type: "host",+ value: "api.dub.sh",+ },+ ],+ destination: "https://api.dub.co",+ permanent: true,+ statusCode: 301,+ },+ {+ source: "/:path*",+ has: [+ {+ type: "host",+ value: "api.dub.sh",+ },+ ],+ destination: "https://api.dub.co/:path*",+ permanent: true,+ statusCode: 301,+ },{source: "/",has: [