sirius-common-utils 1.0.16 → 1.0.17
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.
|
@@ -248,6 +248,9 @@ function init$1(pAxios, pSpinHandlerInstance, pDialogUtilsInstance, pLoginServic
|
|
|
248
248
|
globalSpinHandlerInstance = pSpinHandlerInstance;
|
|
249
249
|
loginServiceInstance = pLoginServiceInstance;
|
|
250
250
|
}
|
|
251
|
+
function getHostName() {
|
|
252
|
+
return window.location.hostname;
|
|
253
|
+
}
|
|
251
254
|
function loadParamFromLocationSearch(paramKey) {
|
|
252
255
|
var paramsStr = window.location.search;
|
|
253
256
|
if (paramsStr.indexOf("?") === 0) {
|
|
@@ -532,6 +535,7 @@ async function appSessionExit(resultCode, forceCloseFlag) {
|
|
|
532
535
|
}
|
|
533
536
|
const AxiosUtils = {
|
|
534
537
|
init: init$1,
|
|
538
|
+
getHostName,
|
|
535
539
|
loadParamFromLocationSearch,
|
|
536
540
|
getPath,
|
|
537
541
|
getUrlParam,
|
|
@@ -249,6 +249,9 @@
|
|
|
249
249
|
globalSpinHandlerInstance = pSpinHandlerInstance;
|
|
250
250
|
loginServiceInstance = pLoginServiceInstance;
|
|
251
251
|
}
|
|
252
|
+
function getHostName() {
|
|
253
|
+
return window.location.hostname;
|
|
254
|
+
}
|
|
252
255
|
function loadParamFromLocationSearch(paramKey) {
|
|
253
256
|
var paramsStr = window.location.search;
|
|
254
257
|
if (paramsStr.indexOf("?") === 0) {
|
|
@@ -533,6 +536,7 @@
|
|
|
533
536
|
}
|
|
534
537
|
const AxiosUtils = {
|
|
535
538
|
init: init$1,
|
|
539
|
+
getHostName,
|
|
536
540
|
loadParamFromLocationSearch,
|
|
537
541
|
getPath,
|
|
538
542
|
getUrlParam,
|