Merge pull request #4617 from claygriffiths/trailingslash-message-bus
Fix: Forced trailing slash on messageBus.baseUrl
This commit is contained in:
commit
06638c78e7
|
@ -29,7 +29,7 @@ export default {
|
|||
|
||||
messageBus.callbackInterval = siteSettings.anon_polling_interval;
|
||||
messageBus.backgroundCallbackInterval = siteSettings.background_polling_interval;
|
||||
messageBus.baseUrl = siteSettings.long_polling_base_url;
|
||||
messageBus.baseUrl = siteSettings.long_polling_base_url.replace(/\/$/, '') + '/';
|
||||
|
||||
if (messageBus.baseUrl !== '/') {
|
||||
// zepto compatible, 1 param only
|
||||
|
|
Loading…
Reference in New Issue