mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 15:59:18 +02:00
Fix #589: broken websocket connexion under Chrome browser
This commit is contained in:
parent
73d8dd9a45
commit
974e344681
2 changed files with 2 additions and 1 deletions
1
changes/changelog.d/589.bugfix
Normal file
1
changes/changelog.d/589.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix broken websocket connexion under Chrome browser (#589)
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue