Merge branch '589-sec-websocket-protocol' into 'develop'

Fix #589: broken websocket connexion under Chrome browser

Closes #589

See merge request funkwhale/funkwhale!510
This commit is contained in:
Eliot Berriot 2019-01-02 15:40:30 +01:00
commit 657311c316
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)