Forced trailing slash on messageBus.baseUrl
This commit is contained in:
parent
3256620d5d
commit
d15bfc9880
|
@ -29,7 +29,7 @@ export default {
|
||||||
|
|
||||||
messageBus.callbackInterval = siteSettings.anon_polling_interval;
|
messageBus.callbackInterval = siteSettings.anon_polling_interval;
|
||||||
messageBus.backgroundCallbackInterval = siteSettings.background_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 !== '/') {
|
if (messageBus.baseUrl !== '/') {
|
||||||
// zepto compatible, 1 param only
|
// zepto compatible, 1 param only
|
||||||
|
|
Loading…
Reference in New Issue