@aliyun-obv/api 0.3.31 → 0.3.33
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 +11 -11
- package/package.json +1 -1
package/dist/api.es.js
CHANGED
|
@@ -270,35 +270,35 @@ function getObvDomain() {
|
|
|
270
270
|
}
|
|
271
271
|
if ((_b2 = window.ALIYUN_CONSOLE_CONFIG) == null ? void 0 : _b2.LOCAL) {
|
|
272
272
|
if (location.hostname === "localhost") {
|
|
273
|
-
return `http://pre-
|
|
273
|
+
return `http://pre-cmsnext:${window.location.port}`;
|
|
274
274
|
}
|
|
275
|
-
if (location.hostname.includes("observability")) {
|
|
275
|
+
if (location.hostname.includes("observability") || location.hostname.includes("cmsnext")) {
|
|
276
276
|
return `http://${location.hostname}:${window.location.port}`;
|
|
277
277
|
}
|
|
278
278
|
if (window.location.hostname.includes("stg")) {
|
|
279
|
-
return `http://pre-stg-
|
|
279
|
+
return `http://pre-stg-cmsnext:${window.location.port}`;
|
|
280
280
|
}
|
|
281
|
-
return `http://pre-
|
|
281
|
+
return `http://pre-cmsnext:${window.location.port}`;
|
|
282
282
|
}
|
|
283
283
|
if (isPre) {
|
|
284
284
|
if (is4Service(window.location)) {
|
|
285
|
-
return `https://pre-
|
|
285
|
+
return `https://pre-cmsnext4service.console.aliyun.com`;
|
|
286
286
|
}
|
|
287
|
-
if (location.hostname.includes("observability")) {
|
|
287
|
+
if (location.hostname.includes("observability") || location.hostname.includes("cmsnext")) {
|
|
288
288
|
return location.origin;
|
|
289
289
|
}
|
|
290
290
|
if (window.location.hostname.includes("stg")) {
|
|
291
|
-
return `https://pre-stg-
|
|
291
|
+
return `https://pre-stg-cmsnext.console.aliyun.com`;
|
|
292
292
|
}
|
|
293
|
-
return `https://pre-
|
|
293
|
+
return `https://pre-cmsnext.console.aliyun.com`;
|
|
294
294
|
}
|
|
295
295
|
if (is4Service(window.location)) {
|
|
296
|
-
return `https://
|
|
296
|
+
return `https://cmsnext4service.console.aliyun.com`;
|
|
297
297
|
}
|
|
298
|
-
if (location.hostname.includes("observability")) {
|
|
298
|
+
if (location.hostname.includes("observability") || location.hostname.includes("cmsnext")) {
|
|
299
299
|
return location.origin;
|
|
300
300
|
}
|
|
301
|
-
return `https://
|
|
301
|
+
return `https://cmsnext.console.aliyun.com`;
|
|
302
302
|
}
|
|
303
303
|
function getConfig(key) {
|
|
304
304
|
window.ALIYUN_SLS_CONSOLE_CONFIG = window.ALIYUN_SLS_CONSOLE_CONFIG || {};
|
package/package.json
CHANGED