chore: 将部署基础路径从 /ok-r 更改为 /ok_r
更新 Next.js 配置中的 basePath 设置,以使用下划线替代连字符,确保与部署环境的路由规则保持一致。
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
basePath: '/ok-r', // 部署到子路径时需要设置
|
||||
basePath: '/ok_r', // 部署到子路径时需要设置
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user