Hi all,
I had build project https://github.com/RocketChat/Rocket.Chat.Livechat with code “yarn start”, it so oke. However I want to use code javascript
(function(w, d, s, u) {
w.RocketChat = function(c) { w.RocketChat._.push(c) };
w.RocketChat._ = [];
w.RocketChat.url = u;
var h = d.getElementsByTagName(s)[0],
j = d.createElement(s);
j.async = true;
j.src = 'http://localhost:8080/livechat/1.0/rocketchat-livechat.min.js?_=' + Math.random();
h.parentNode.insertBefore(j, h);
})(window, document, 'script', 'http://localhost:8080/livechat?version=1.0');
Error url not found “http://localhost:8080/livechat/1.0/rocketchat-livechat.min.js”
how to use Url it? please help me