Skip to content
Snippets Groups Projects
Commit ad6fa8c0 authored by Diego Sampaio's avatar Diego Sampaio
Browse files

Merge pull request #1717 from k0nsl/patch-1

add trailing slash on ROOT_URL for livechat installation script
parents d5a12dc0 11b45230
No related branches found
No related tags found
No related merge requests found
...@@ -8,9 +8,9 @@ Template.livechatInstallation.helpers({ ...@@ -8,9 +8,9 @@ Template.livechatInstallation.helpers({
var h = d.getElementsByTagName(s)[0], var h = d.getElementsByTagName(s)[0],
j = d.createElement(s); j = d.createElement(s);
j.async = true; j.async = true;
j.src = '${RocketChat.settings.get('Site_Url')}packages/rocketchat_livechat/assets/rocket-livechat.js'; j.src = '${RocketChat.settings.get('Site_Url')}/packages/rocketchat_livechat/assets/rocket-livechat.js';
h.parentNode.insertBefore(j, h); h.parentNode.insertBefore(j, h);
})(window, document, 'script', 'initRocket', '${RocketChat.settings.get('Site_Url')}livechat'); })(window, document, 'script', 'initRocket', '${RocketChat.settings.get('Site_Url')}/livechat');
</script> </script>
<!-- End of Rocket.Chat Livechat Script -->`; <!-- End of Rocket.Chat Livechat Script -->`;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment