Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LiveChat Installation Bug #2462

Closed
jimpson opened this issue Mar 9, 2016 · 0 comments
Closed

LiveChat Installation Bug #2462

jimpson opened this issue Mar 9, 2016 · 0 comments

Comments

@jimpson
Copy link

jimpson commented Mar 9, 2016

Your Rocket.Chat version: 0.20.0

When the script for LiveChat installation is populated into the "Admin >> LiveChat >> Installation" screen, two of the URL references have to many "/" characters. The offending characters can be found after the base URL in the function and function call.

Example

<script type="text/javascript">
(function(w, d, s, f, u) {
    w[f] = w[f] || [];
    w[f].push(u);
    var h = d.getElementsByTagName(s)[0],
        j = d.createElement(s);
    j.async = true;
    j.src = 'http://chat.domain.com//packages/rocketchat_livechat/assets/rocket-livechat.js';
    h.parentNode.insertBefore(j, h);
})(window, document, 'script', 'initRocket', 'http://chat.comain.com//livechat');
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants