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.

Update next.config.js

Steven Teyd27072655d70
diff --git a/next.config.js b/next.config.js
index df84f178f3..60bde950f9 100644
--- a/next.config.js
+++ b/next.config.js
@@ -142,6 +142,18 @@ const nextConfig = {
permanent: true,
statusCode: 301,
},
+ {
+ source: "/",
+ has: [
+ {
+ type: "host",
+ value: "staging.dub.sh",
+ },
+ ],
+ destination: "https://dub.co",
+ permanent: true,
+ statusCode: 301,
+ },
{
source: "/",
has: [