Feature/polls attempt 2
This commit is contained in:
parent
69eff65130
commit
0eed2ccca8
56 changed files with 1364 additions and 1458 deletions
|
@ -59,7 +59,7 @@ const api = {
|
|||
// Set up websocket connection
|
||||
if (!store.state.chatDisabled) {
|
||||
const token = store.state.wsToken
|
||||
const socket = new Socket('/socket', {params: {token}})
|
||||
const socket = new Socket('/socket', { params: { token } })
|
||||
socket.connect()
|
||||
store.dispatch('initializeChat', socket)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue