Skip to content

Commit c26c435

Browse files
committed
fix: update ArduinoUnoQ connection to use dynamic hostname
1 parent 91c6fde commit c26c435

File tree

1 file changed

+1
-1
lines changed
  • scratch-arduino-extensions/packages/scratch-vm/src/extensions/arduino_basics

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const menuIconURI = "";
1111
class ArduinoBasics {
1212
constructor(runtime) {
1313
this.runtime = runtime;
14-
this.unoq = new ArduinoUnoQ("192.168.1.39", 7000);
14+
this.unoq = new ArduinoUnoQ(`${window.location.hostname}`, 7000);
1515
this.unoq.connect();
1616
}
1717
}

0 commit comments

Comments
 (0)