@aliyun-obv/api 0.0.64 → 0.0.66
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/dist/api.es.js +7 -0
- package/package.json +3 -3
package/dist/api.es.js
CHANGED
|
@@ -701,7 +701,11 @@ var __async$3 = (__this, __arguments, generator) => {
|
|
|
701
701
|
};
|
|
702
702
|
function getSlsBaseUrl() {
|
|
703
703
|
var _a, _b, _c;
|
|
704
|
+
const { slsHost } = urijs(window.location.search).escapeQuerySpace(false).query(true);
|
|
704
705
|
if ((_a = window.ALIYUN_CONSOLE_CONFIG) == null ? void 0 : _a.LOCAL) {
|
|
706
|
+
if (slsHost != null && slsHost != "") {
|
|
707
|
+
return slsHost;
|
|
708
|
+
}
|
|
705
709
|
return void 0;
|
|
706
710
|
}
|
|
707
711
|
const host = window.location.host;
|
|
@@ -709,6 +713,9 @@ function getSlsBaseUrl() {
|
|
|
709
713
|
return void 0;
|
|
710
714
|
}
|
|
711
715
|
if (((_b = window.ALIYUN_CONSOLE_CONFIG) == null ? void 0 : _b.ENV) === "pre" || ((_c = window.ALIYUN_CONSOLE_CONFIG) == null ? void 0 : _c.fEnv) === "pre") {
|
|
716
|
+
if (slsHost != null && slsHost != "") {
|
|
717
|
+
return slsHost;
|
|
718
|
+
}
|
|
712
719
|
return `https://pre-sls.console.aliyun.com`;
|
|
713
720
|
}
|
|
714
721
|
return `https://sls.console.aliyun.com`;
|
package/package.json
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"urijs": "^1.19.1",
|
|
11
11
|
"lodash": "^4.17.21",
|
|
12
12
|
"@alicloud/console-base-error-prompt-proxy": "^1.9.12",
|
|
13
|
-
"@aliyun-obv/i18n": "0.0.
|
|
14
|
-
"@aliyun-obv/utils": "0.0.
|
|
13
|
+
"@aliyun-obv/i18n": "0.0.66",
|
|
14
|
+
"@aliyun-obv/utils": "0.0.66",
|
|
15
15
|
"@alifd/next": "^1.27.11",
|
|
16
16
|
"styled-components": "^5.2.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {},
|
|
19
|
-
"version": "0.0.
|
|
19
|
+
"version": "0.0.66"
|
|
20
20
|
}
|