ws-process 0.3.27 → 0.3.28
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/Loading-esm.js +0 -0
- package/Loading-esm.js.map +0 -0
- package/Loading.css +0 -0
- package/Loading.js +0 -0
- package/index.js +10 -1
- package/package.json +1 -1
package/Loading-esm.js
CHANGED
|
File without changes
|
package/Loading-esm.js.map
CHANGED
|
File without changes
|
package/Loading.css
CHANGED
|
File without changes
|
package/Loading.js
CHANGED
|
File without changes
|
package/index.js
CHANGED
|
@@ -480,7 +480,16 @@ function asyncSend(msg) {
|
|
|
480
480
|
// return 'api-dev';
|
|
481
481
|
// }
|
|
482
482
|
// });
|
|
483
|
-
|
|
483
|
+
|
|
484
|
+
const currentState = getState();
|
|
485
|
+
const {
|
|
486
|
+
AltDomain: altDomain
|
|
487
|
+
} = tryit(() => currentState["api-Configuration"].merged.ui.result) || {};
|
|
488
|
+
if(altDomain){
|
|
489
|
+
url = [altDomain, msg.url.replace(/^\/{0,}/, '')].join('/');
|
|
490
|
+
}else{
|
|
491
|
+
url = ['https://api.bsg.support', msg.url.replace(/^\/{0,}/, '')].join('/');
|
|
492
|
+
}
|
|
484
493
|
}
|
|
485
494
|
const user = getState().user.currentUser;
|
|
486
495
|
const headers = {};
|