diff --git a/config/framework.config.js b/config/framework.config.js index 15ced8d..d529bed 100644 --- a/config/framework.config.js +++ b/config/framework.config.js @@ -69,14 +69,17 @@ module.exports = { // 基础 URL(根据环境区分) baseUrl: (() => { const env = process.env.NODE_ENV || 'development'; + console.log('env',env) - switch (env) { - case 'production': - return 'https://work.light120.com'; // 生产环境 - case 'development': - default: - return 'http://localhost:9097'; // 开发环境 - } + return 'https://work.light120.com'; + + // switch (env) { + // case 'production': + // // 生产环境 + // case 'development': + // default: + // return 'http://localhost:9097'; // 开发环境 + // } })(), // 日志路径