生产管理系统 - 登录,二维码功能集成
This commit is contained in:
@@ -23,6 +23,15 @@ const nextConfig = {
|
||||
},
|
||||
// 解决工作区根目录问题
|
||||
outputFileTracingRoot: process.cwd(),
|
||||
// 添加代理配置解决CORS问题
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: '/api/:path*',
|
||||
destination: 'https://gitea-admin-hm-smart-agri-app.dev.maimaiag.com/api/:path*',
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in New Issue
Block a user