X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fframework%2Fcore%2Fapi_utils%2Fsockets.js;h=2e6779c04c2593e9d13b0bca442958baffedd44f;hb=56e55f5efc98e32a1afb3d99d07e9e5b0847a258;hp=0cd491883a5ba7b47dd41b688dc0bf588f8de62d;hpb=3d39b18290b9cb3e10c1a80d91ac4819e7c58474;p=osm%2FUI.git diff --git a/skyquake/framework/core/api_utils/sockets.js b/skyquake/framework/core/api_utils/sockets.js index 0cd491883..2e6779c04 100644 --- a/skyquake/framework/core/api_utils/sockets.js +++ b/skyquake/framework/core/api_utils/sockets.js @@ -92,7 +92,6 @@ Subscriptions.prototype.subscribe = function(req, callback) { var a = url.resolve(origin, req.baseUrl); var b = url.resolve(a, URL); URL = b; - console.log('DEBUG URL IS', URL); } else { protocol = protocol[1] } @@ -284,7 +283,7 @@ function PollingSocket(url, req, interval, config) { var pollServer = function() { Request({ - url: url, + url: utils.projectContextUrl(req, url), method: config.method || 'GET', headers: requestHeaders, json: config.payload,