From 059bf8e585da1156c3bb136367b12f478c1a4403 Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期六, 21 十二月 2024 09:54:02 +0800 Subject: [PATCH] 添加WIDESEAWCS_Server和WIDESEA_WMSServer的appsettings.json配置文件,包含日志级别、数据库连接字符串和跨域设置 --- Code Management/WCS/WIDESEAWCS_Client/src/api/http.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Client/src/api/http.js b/Code Management/WCS/WIDESEAWCS_Client/src/api/http.js index fcb2646..5c21539 100644 --- a/Code Management/WCS/WIDESEAWCS_Client/src/api/http.js +++ b/Code Management/WCS/WIDESEAWCS_Client/src/api/http.js @@ -13,14 +13,14 @@ let loadingStatus = false; if (process.env.NODE_ENV == 'development') { // axios.defaults.baseURL = 'http://127.0.0.1:9291/'; - axios.defaults.baseURL = 'http://192.168.20.251:9291/'; + axios.defaults.baseURL = 'http://192.168.5.251:9291/'; } else if (process.env.NODE_ENV == 'debug') { axios.defaults.baseURL = 'http://127.0.0.1:8098/'; } else if (process.env.NODE_ENV == 'production') { - axios.defaults.baseURL = 'http://192.168.20.251:9291/'; + axios.defaults.baseURL = 'http://192.168.5.251:9291/'; } if (!axios.defaults.baseURL.endsWith('/')) { axios.defaults.baseURL+="/"; -- Gitblit v1.9.3