@yeeyoon/library 3.5.3 → 3.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/config/env.js +3 -3
- package/package.json +1 -1
package/lib/config/env.js
CHANGED
@@ -93,10 +93,10 @@ function getEnvHost(product, path = '') {
|
|
93
93
|
|
94
94
|
function getHuashanEnvHost(isLogin = false) {
|
95
95
|
if (REACT_APP_ENV === 'prod') {
|
96
|
-
if (isLogin) return 'https://huashan-login.yeeyoon.com
|
96
|
+
if (isLogin) return 'https://huashan-login.yeeyoon.com';
|
97
97
|
else return 'https://huashan.yeeyoon.com';
|
98
98
|
} else {
|
99
|
-
if (isLogin) return 'https://testing-huashan-login.yeeyoon.com
|
99
|
+
if (isLogin) return 'https://testing-huashan-login.yeeyoon.com';
|
100
100
|
else return 'https://testing-huashan.yeeyoon.com';
|
101
101
|
}
|
102
102
|
}
|
@@ -138,7 +138,7 @@ export const HOST_PROFILE_GROUP = getEnvHost('profile', '/user-profile/group');
|
|
138
138
|
export const HOST_ZHONGTAI_XLT = getEnvHost('zhongtai_cy');
|
139
139
|
export const HOST_ZHONGTAI_CY = getEnvHost('zhongtai_xlt');
|
140
140
|
|
141
|
-
export const HOST_HUASHAN_LOGIN = getHuashanEnvHost(true)
|
141
|
+
export const HOST_HUASHAN_LOGIN = `${getHuashanEnvHost(true)}/login`;
|
142
142
|
export const HOST_HUASHAN_BPM = getHuashanEnvHost();
|
143
143
|
|
144
144
|
// API
|