@smart100/spu-web-plugin 0.0.38 → 1.0.0
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/spu-web-plugin.mjs +3 -3
- package/package.json +1 -1
- package/src/apaasSpuTrack.ts +1 -1
- package/src/core.js +1 -1
package/dist/spu-web-plugin.mjs
CHANGED
|
@@ -708,7 +708,7 @@ function _toPropertyKey$1(arg) {
|
|
|
708
708
|
return typeof key === "symbol" ? key : String(key);
|
|
709
709
|
}
|
|
710
710
|
|
|
711
|
-
var version = "0.0
|
|
711
|
+
var version = "1.0.0";
|
|
712
712
|
|
|
713
713
|
/** Detect free variable `global` from Node.js. */
|
|
714
714
|
var freeGlobal$2 = typeof global == 'object' && global && global.Object === Object && global;
|
|
@@ -18554,7 +18554,7 @@ var Core = /*#__PURE__*/function () {
|
|
|
18554
18554
|
_context2.next = 15;
|
|
18555
18555
|
break;
|
|
18556
18556
|
}
|
|
18557
|
-
hostsRoot = document.location.protocol === 'https:' ? 'https://mconfig.
|
|
18557
|
+
hostsRoot = document.location.protocol === 'https:' ? 'https://mconfig.xuantongkeji.com' : 'http://mconfig.xuantongkeji.com:8015';
|
|
18558
18558
|
_context2.prev = 3;
|
|
18559
18559
|
_context2.next = 6;
|
|
18560
18560
|
return normalAxios.get("".concat(hostsRoot, "/multiplatconfig/env/").concat(envName), {
|
|
@@ -60135,7 +60135,7 @@ var initApaasSpuTrack = function initApaasSpuTrack() {
|
|
|
60135
60135
|
set(window, 'Module.getIndextagSync', getIndextagSync);
|
|
60136
60136
|
}
|
|
60137
60137
|
ApaasSpuTrack.getApaasSpuTrack({
|
|
60138
|
-
url: 'https://log.
|
|
60138
|
+
url: 'https://log.xuantongkeji.com/?project=xw_module',
|
|
60139
60139
|
zip: false,
|
|
60140
60140
|
online: true,
|
|
60141
60141
|
http: {
|
package/package.json
CHANGED
package/src/apaasSpuTrack.ts
CHANGED
package/src/core.js
CHANGED
|
@@ -66,7 +66,7 @@ class Core {
|
|
|
66
66
|
// envName = '产品运营中心验证'
|
|
67
67
|
let result = null
|
|
68
68
|
if (envName) {
|
|
69
|
-
const hostsRoot = document.location.protocol === 'https:' ? 'https://mconfig.
|
|
69
|
+
const hostsRoot = document.location.protocol === 'https:' ? 'https://mconfig.xuantongkeji.com' : 'http://mconfig.xuantongkeji.com:8015'
|
|
70
70
|
let response
|
|
71
71
|
try {
|
|
72
72
|
response = await axios.get(`${hostsRoot}/multiplatconfig/env/${envName}`, {
|