🎉
This commit is contained in:
parent
7609892c1f
commit
d392da64ab
14 changed files with 34 additions and 20 deletions
|
@ -5,7 +5,7 @@ module.exports = me => {
|
|||
let state = 'initializing';
|
||||
const stateEv = riot.observable();
|
||||
const event = riot.observable();
|
||||
const host = CONFIG.api.url.replace('http', 'ws');
|
||||
const host = CONFIG.apiUrl.replace('http', 'ws');
|
||||
const socket = new ReconnectingWebSocket(`${host}?i=${me.token}`);
|
||||
|
||||
socket.onopen = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue