Skip to content

Commit 445da44

Browse files
committed
Update input-capture.service.ts
1 parent 34fc695 commit 445da44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

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

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

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

0 commit comments

Comments
 (0)