From 804b4b3b0727e85a4e8f9580804b43437bce11fb Mon Sep 17 00:00:00 2001 From: karlcarlo Date: Wed, 28 Jan 2026 16:41:02 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=B0=86=E9=83=A8=E7=BD=B2=E5=9F=BA?= =?UTF-8?q?=E7=A1=80=E8=B7=AF=E5=BE=84=E4=BB=8E=20/ok-r=20=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=20/ok=5Fr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 Next.js 配置中的 basePath 设置,以使用下划线替代连字符,确保与部署环境的路由规则保持一致。 --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index c158b91..823ddff 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - basePath: '/ok-r', // 部署到子路径时需要设置 + basePath: '/ok_r', // 部署到子路径时需要设置 eslint: { ignoreDuringBuilds: true, },