From ed7547461beacfe2755549e7eed37cb4b844cb0d Mon Sep 17 00:00:00 2001 From: DefectingCat Date: Wed, 17 May 2023 17:08:45 +0800 Subject: [PATCH] fix can not find file in production mode --- next.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index b612248..0d7c9b9 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -7,7 +7,7 @@ const nextConfig = { /* config options here */ reactStrictMode: true, swcMinify: true, - output: 'standalone', + // output: 'standalone', images: isExport ? { unoptimized: true } : {}, experimental: { // runtime: 'experimental-edge', @@ -21,4 +21,4 @@ const nextConfig = { pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'], }; -export default nextConfig; +export default nextConfig; \ No newline at end of file