Fixed: UI notifications when using a reverse proxy

This commit is contained in:
Mark McDowall 2014-03-10 21:02:02 -07:00
parent 0e5b100733
commit d7ca33ff04
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ define(
console.log(options.action + ': {0}}'.format(options.resource));
};
collection.listenTo(vent, 'server:' + collection.url.replace('/api/', ''), processMessage);
collection.listenTo(vent, 'server:' + collection.url.split('/api/')[1], processMessage);
return this;
},