@hocuspocus/provider 2.11.2 → 2.12.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1882,7 +1882,7 @@ class HocuspocusProviderWebsocket extends EventEmitter {
1882
1882
  this.lastMessageReceived = 0;
1883
1883
  this.identifier += 1;
1884
1884
  // Init the WebSocket connection
1885
- const ws = new this.configuration.WebSocketPolyfill(this.url);
1885
+ const ws = new this.configuration.WebSocketPolyfill(this.url, { followRedirects: true });
1886
1886
  ws.binaryType = 'arraybuffer';
1887
1887
  ws.identifier = this.identifier;
1888
1888
  this.attachWebSocketListeners(ws, reject);