Fixed: UI notifications when using a reverse proxy

pull/6/head
Mark McDowall 11 years ago
parent 0e5b100733
commit d7ca33ff04

@ -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;
},

Loading…
Cancel
Save