From 4fb4bd80f377e1d64692b83ed4bd1f0cf8cf6f5a Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期二, 24 十二月 2024 17:42:42 +0800 Subject: [PATCH] 合并 --- Code Management/WCS/WIDESEAWCS_Client/src/api/http.js | 5 +++-- 1 files changed, 3 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 c648172..de9cdc7 100644 --- a/Code Management/WCS/WIDESEAWCS_Client/src/api/http.js +++ b/Code Management/WCS/WIDESEAWCS_Client/src/api/http.js @@ -12,14 +12,15 @@ 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.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://127.0.0.1:9291/'; + axios.defaults.baseURL = 'http://192.168.5.251:9291/'; } if (!axios.defaults.baseURL.endsWith('/')) { axios.defaults.baseURL+="/"; -- Gitblit v1.9.3