Skip to content

Commit 874de9c

Browse files
committed
Update input-capture.service.ts
1 parent 445da44 commit 874de9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/bytebot-agent/src/agent/input-capture.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ export class InputCaptureService {
4747
return;
4848
}
4949

50-
const secure = baseUrl.startsWith('https://');
51-
this.socket = io(baseUrl, { transports: ['websocket'], secure });
50+
this.socket = io(baseUrl, { transports: ['websocket'], secure: true });
5251

5352
this.socket.on('connect', () => {
5453
this.logger.log('Input socket connected');

0 commit comments

Comments
 (0)