We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c4b18d commit 2bbc569Copy full SHA for 2bbc569
templates/web/src/services/realtime.ts.twig
@@ -105,7 +105,10 @@ export class Realtime {
105
queryParams += `&channels[]=${encodeURIComponent(channel)}`;
106
}
107
108
- const endpoint = this.client.config.endpoint || '';
+ const endpoint =
109
+ this.client.config.endpointRealtime !== ''
110
+ ? this.client.config.endpointRealtime
111
+ : this.client.config.endpoint || '';
112
const realtimeEndpoint = endpoint
113
.replace('https://', 'wss://')
114
.replace('http://', 'ws://');
0 commit comments