From 0b7ec0dd02a8b6ed8570c9d76eda6d0d39a3df02 Mon Sep 17 00:00:00 2001 From: Zhe Li Date: Fri, 31 Mar 2023 13:11:22 +0800 Subject: [PATCH] fix config --- next.config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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,