Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/js/serial.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Serial extends EventTarget {
if (portPath === "virtual") {
console.log(`${this.logHead} Using virtual protocol (based on port path)`);
newProtocol = this._virtual;
} else if (portPath === "manual") {
} else if (portPath === "manual" || /^(tcp|ws):\/\/([A-Za-z0-9.-]+)(?::(\d+))?$/.exec(portPath)) {
console.log(`${this.logHead} Using websocket protocol (based on port path)`);
newProtocol = this._webSocket;
} else if (portPath.startsWith("bluetooth")) {
Expand Down