From 60994422d1ff27c24ed8bdf1076f50166ca638db Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期二, 07 一月 2025 18:21:25 +0800 Subject: [PATCH] 修复和优化多个服务及配置 --- 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 3ef7bff..cf41fd2 100644 --- a/Code Management/WCS/WIDESEAWCS_Client/src/api/http.js +++ b/Code Management/WCS/WIDESEAWCS_Client/src/api/http.js @@ -12,7 +12,7 @@ let loadingInstance; let loadingStatus = false; if (process.env.NODE_ENV == 'development') { - axios.defaults.baseURL = 'http://127.0.0.1:9291/'; + axios.defaults.baseURL = 'http://127.0.0.1:9291/'; // axios.defaults.baseURL = 'http://192.168.20.251:9291/'; } else if (process.env.NODE_ENV == 'debug') { @@ -20,7 +20,7 @@ } else if (process.env.NODE_ENV == 'production') { - axios.defaults.baseURL = 'http://192.168.30.251:9291/'; + axios.defaults.baseURL = 'http://192.168.5.251:9291/'; } if (!axios.defaults.baseURL.endsWith('/')) { axios.defaults.baseURL+="/"; -- Gitblit v1.9.3