生产管理系统 - 登录,二维码功能集成

This commit is contained in:
2025-10-31 11:49:11 +08:00
parent 2fa64e66c9
commit 46ff61eaed
11 changed files with 1867 additions and 185 deletions

View File

@@ -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;