projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "RIFT-15577 - part one: make 'Add' immediately create catalog item in backend"
[osm/UI.git]
/
skyquake
/
framework
/
utils
/
utils.js
diff --git
a/skyquake/framework/utils/utils.js
b/skyquake/framework/utils/utils.js
index
8a54ff3
..
e8e9ad1
100644
(file)
--- 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({
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) {
type: 'GET',
beforeSend: Utils.addAuthorizationStub,
success: function(data) {