@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.
- package/dist/hocuspocus-provider.cjs +1 -1
- package/dist/hocuspocus-provider.cjs.map +1 -1
- package/dist/hocuspocus-provider.esm.js +1 -1
- package/dist/hocuspocus-provider.esm.js.map +1 -1
- package/dist/packages/extension-redis/src/Redis.d.ts +1 -1
- package/dist/packages/provider/src/HocuspocusProviderWebsocket.d.ts +2 -3
- package/dist/packages/provider/src/types.d.ts +1 -1
- package/dist/packages/server/src/types.d.ts +1 -1
- package/package.json +2 -2
- package/src/HocuspocusProviderWebsocket.ts +3 -4
- package/src/types.ts +1 -1
|
@@ -1858,7 +1858,7 @@ class HocuspocusProviderWebsocket extends EventEmitter {
|
|
|
1858
1858
|
this.lastMessageReceived = 0;
|
|
1859
1859
|
this.identifier += 1;
|
|
1860
1860
|
// Init the WebSocket connection
|
|
1861
|
-
const ws = new this.configuration.WebSocketPolyfill(this.url);
|
|
1861
|
+
const ws = new this.configuration.WebSocketPolyfill(this.url, { followRedirects: true });
|
|
1862
1862
|
ws.binaryType = 'arraybuffer';
|
|
1863
1863
|
ws.identifier = this.identifier;
|
|
1864
1864
|
this.attachWebSocketListeners(ws, reject);
|