X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fframework%2Futils%2Futils.js;h=e8e9ad1a95360799c13325c10460a37cf6637737;hb=refs%2Fchanges%2F03%2F1103%2F1;hp=8a54ff338a965fdcd33b8e774649a4d2c1b615fc;hpb=8b97db143299720e1da99a1366a6c7b7f2ad782d;p=osm%2FUI.git diff --git a/skyquake/framework/utils/utils.js b/skyquake/framework/utils/utils.js index 8a54ff338..e8e9ad1a9 100644 --- a/skyquake/framework/utils/utils.js +++ b/skyquake/framework/utils/utils.js @@ -189,7 +189,7 @@ Utils.setAuthentication = function(username, password, cb) { window.sessionStorage.setItem("auth", AuthBase64); self.detectInactivity(); $.ajax({ - url: '//' + window.location.hostname + ':' + NODE_PORT + '/check-auth?api_server=' + API_SERVER, + url: '//' + window.location.hostname + ':' + window.location.port + '/check-auth?api_server=' + API_SERVER, type: 'GET', beforeSend: Utils.addAuthorizationStub, success: function(data) {