From fc18bcda8fe0cab2ee2540274ab22425ce8307a2 Mon Sep 17 00:00:00 2001 From: RongkangXiong Date: Tue, 6 Feb 2024 23:42:27 +0800 Subject: [PATCH] Update next.config.js --- next.config.js | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/next.config.js b/next.config.js index 0a4a4d9..006abbb 100644 --- a/next.config.js +++ b/next.config.js @@ -17,8 +17,7 @@ const withNextra = require('nextra')({ staticImage: true, basePath: basePath, assetPrefix: assetPrefix, - output: 'export', - distDir: 'dist' + }) module.exports = { @@ -27,17 +26,11 @@ module.exports = { locales: ['zh-CN', 'en-US'], defaultLocale: 'zh-CN' }, - // domains: [{ - // domain: 'info.ai4agi.org', - // defaultLocale: 'zh-CN' - // }, - // { - // domain: 'info.ai4agi.cn', - // defaultLocale: 'zh-CN' - // } - // ] + } ), + output: 'export', + distDir: 'dist', images: { unoptimized: true, },