1
This commit is contained in:
@@ -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'; // 开发环境
|
||||
}
|
||||
})(),
|
||||
|
||||
// 日志路径
|
||||
|
||||
Reference in New Issue
Block a user