Verified Commit 974e3446 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fix #589: broken websocket connexion under Chrome browser

parent 73d8dd9a
Fix broken websocket connexion under Chrome browser (#589)
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
url = url.replace('https://', 'wss://') url = url.replace('https://', 'wss://')
bridge.connect( bridge.connect(
url, url,
null, [],
{reconnectInterval: 1000 * 60}) {reconnectInterval: 1000 * 60})
bridge.listen(function (event) { bridge.listen(function (event) {
self.$store.dispatch('ui/websocketEvent', event) self.$store.dispatch('ui/websocketEvent', event)
......
Supports Markdown
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