chore: 将部署基础路径从 /ok-r 更改为 /ok_r

更新 Next.js 配置中的 basePath 设置,以使用下划线替代连字符,确保与部署环境的路由规则保持一致。
This commit is contained in:
2026-01-28 16:41:02 +08:00
parent f4e3197156
commit 804b4b3b07

View File

@@ -1,6 +1,6 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
basePath: '/ok-r', // 部署到子路径时需要设置 basePath: '/ok_r', // 部署到子路径时需要设置
eslint: { eslint: {
ignoreDuringBuilds: true, ignoreDuringBuilds: true,
}, },