From cd56eb7886a6500f35c4fc210d6147231ebf5fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Mon, 22 Dec 2025 18:15:05 +0800 Subject: [PATCH] 1 --- config/framework.config.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) 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'; // 开发环境 + // } })(), // 日志路径