diff --git a/next.config.js b/next.config.js index 8a8602718..5594ae588 100644 --- a/next.config.js +++ b/next.config.js @@ -21,11 +21,10 @@ const nextConfig = { { source: '/', destination: `https://${process.env.DOMAIN}/`, - has: [ + missing: [ { type: 'host', - value: process.env.DOMAIN, - not: true + value: process.env.DOMAIN }, ], permanent: true,