Skip to content

Commit b952616

Browse files
committed
fix: resolve conflict browserSocketFactory
1 parent 3fd6187 commit b952616

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/vscode/src/vs/platform/remote/browser/browserSocketFactory.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,8 @@ export class BrowserSocketFactory implements ISocketFactory {
208208
}
209209

210210
connect(host: string, port: number, query: string, callback: IConnectCallback): void {
211-
<<<<<<< HEAD
212211
// NOTE@coder: Modified to work against the current path.
213212
const socket = this._webSocketFactory.create(`${window.location.protocol === 'https:' ? 'wss' : 'ws'}://${window.location.host}${window.location.pathname}?${query}&skipWebSocketFrames=false`);
214-
=======
215-
const socket = this._webSocketFactory.create(`ws://${/:/.test(host) ? `[${host}]` : host}:${port}/?${query}&skipWebSocketFrames=false`);
216-
>>>>>>> 89b6e0164fa770333755b11504e19a4232b1a2d4
217213
const errorListener = socket.onError((err) => callback(err, undefined));
218214
socket.onOpen(() => {
219215
errorListener.dispose();

0 commit comments

Comments
 (0)