Skip to content

Commit 419bb78

Browse files
committed
refactor: remove unnecessary comments and secure option from socket.io configuration
1 parent 72385f9 commit 419bb78

File tree

1 file changed

+0
-2
lines changed
  • scratch-arduino-extensions/packages/scratch-vm/src/extensions/arduino_object_detection

1 file changed

+0
-2
lines changed

scratch-arduino-extensions/packages/scratch-vm/src/extensions/arduino_object_detection/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const iconURI = "";
2222
// eslint-disable-next-line max-len
2323
const menuIconURI = "";
2424

25-
// Determine the appropriate protocol and URL for socket.io connection
2625
const wsServerURL = `${window.location.protocol}//${window.location.hostname}:7000`;
2726

2827

@@ -71,7 +70,6 @@ class ArduinoObjectDetection {
7170
this.io = io(wsServerURL, {
7271
path: "/socket.io",
7372
transports: ["polling", "websocket"],
74-
secure:true,
7573
autoConnect: true,
7674
});
7775

0 commit comments

Comments
 (0)