Unverified Commit c351e0e4 authored by Renato Becker's avatar Renato Becker Committed by GitHub

Release Livechat client as a community feature (#186)

* Release the new Livechat client as a community feature.

* Updated package version.
parent 0f573263
{
"name": "@rocket.chat/livechat",
"version": "0.0.1-1",
"version": "1.0.0",
"license": "MIT",
"repository": {
"type": "git",
......
......@@ -6,7 +6,7 @@ import webpackOverride from './webpackOverride.config';
export default (config, env/* , helpers */) => {
if (env.production) {
config.output.publicPath = '/new-livechat/';
config.output.publicPath = '/livechat/1.0/';
}
config = webpackOverride(config);
......
......@@ -48,9 +48,9 @@
var h = d.getElementsByTagName(s)[0],
j = d.createElement(s);
j.async = true;
j.src = '/new-livechat/rocketchat-livechat.min.js?_=' + Math.random();
j.src = '/livechat/1.0/rocketchat-livechat.min.js?_=' + Math.random();
h.parentNode.insertBefore(j, h);
})(window, document, 'script', '/livechat-enterprise');
})(window, document, 'script', '/livechat?version=1.0');
RocketChat(function() {
this.setCustomField('key-test', 'value test');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment