RIFT-15625: API changes to accommodate projects
[osm/UI.git] / skyquake / framework / core / api_utils / sockets.js
index 0cd4918..e2e4447 100644 (file)
@@ -284,7 +284,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,