From cd38450a3ce0de38d2c3b92d6a242951fda6bb2e Mon Sep 17 00:00:00 2001 From: Hosein Date: Wed, 12 Aug 2020 15:04:33 +0430 Subject: [PATCH] Support Cluster --- Pusher.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pusher.qml b/Pusher.qml index a732c85..06c63ac 100644 --- a/Pusher.qml +++ b/Pusher.qml @@ -221,7 +221,7 @@ Item { WebSocket { id: socket url: (connection.encrypted ? "wss" : "ws") + - "://ws.pusherapp.com:" + + "://ws-"+connection.cluster+".pusher.com:" + (connection.encrypted ? "443" : "80") + "/app/" + connection.appKey + "?" + "protocol=" + connection._protocol +