Skip to content

Commit 7a8f2e7

Browse files
committed
Use toString() instead of an instance of Url when opening the websocket connection
1 parent d808e41 commit 7a8f2e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sdk/src/websocket_decompress_adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class WebsocketDecompressAdapter {
121121
databaseUrl.searchParams.set('light', 'true');
122122
}
123123

124-
const ws = new WS(databaseUrl, wsProtocol);
124+
const ws = new WS(databaseUrl.toString(), wsProtocol);
125125

126126
return new WebsocketDecompressAdapter(ws);
127127
}

0 commit comments

Comments
 (0)