diff --git a/apps/dashboard/next.config.js b/apps/dashboard/next.config.js index 830672ed5..26fdb8eab 100644 --- a/apps/dashboard/next.config.js +++ b/apps/dashboard/next.config.js @@ -33,19 +33,6 @@ const nextConfig = { }, ]; }, - redirect: () => [ - // Powers our gateway.new compliant domain - { - source: "/:path", - has: [ - { - type: "host", - value: "gateway.new", - }, - ], - destination: "/gateway-new", - }, - ], rewrites: () => [ { source: "/docs", @@ -63,6 +50,17 @@ const nextConfig = { source: "/engineering/:match*", destination: "https://unkey-engineering.mintlify.dev/engineering/:match*", }, + // Powers our gateway.new compliant domain + { + source: "/:path", + has: [ + { + type: "host", + value: "gateway.new", + }, + ], + destination: "/gateway-new", + }, ], };