Skip to content

Commit a147f86

Browse files
committed
ws protocol is now used over http and https
1 parent c28357f commit a147f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pynetworktables2js/js/networktables.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ const NetworkTables = new function () {
260260

261261
// construct the websocket URI
262262
const loc = window.location;
263-
const protocol = loc.protocol === "https:" ? "wss:" : "ws:";
263+
const protocol = "ws:";
264264
// If the websocket is being served from a different host allow users
265265
// to add a data-nt-host="" attribute to the script tag loading
266266
// Networktables.

0 commit comments

Comments
 (0)