This commit is contained in:
张成
2025-12-22 18:18:09 +08:00
parent cd56eb7886
commit 0ff985f606

View File

@@ -71,15 +71,14 @@ module.exports = {
const env = process.env.NODE_ENV || 'development';
console.log('env',env)
return 'https://work.light120.com';
// switch (env) {
// case 'production':
// // 生产环境
// case 'development':
// default:
// return 'http://localhost:9097'; // 开发环境
// }
switch (env) {
case 'production':
return 'https://work.light120.com';
// 生产环境
case 'development':
default:
return 'http://localhost:9097'; // 开发环境
}
})(),
// 日志路径