Fix #589: broken websocket connexion under Chrome browser

This commit is contained in:
Eliot Berriot 2019-01-02 15:34:26 +01:00
parent 73d8dd9a45
commit 974e344681
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Fix broken websocket connexion under Chrome browser (#589)

View File

@ -179,7 +179,7 @@ export default {
url = url.replace('https://', 'wss://')
bridge.connect(
url,
null,
[],
{reconnectInterval: 1000 * 60})
bridge.listen(function (event) {
self.$store.dispatch('ui/websocketEvent', event)