Skip to content

Commit

Permalink
Merge branch 'main' of github.com:4yn/slidershim
Browse files Browse the repository at this point in the history
  • Loading branch information
4yn committed Oct 5, 2023
2 parents 743424d + b77f5f1 commit cbbfcdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-slider_io/src/device/brokenithm-www/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-slider_io/src/device/brokenithm-www/src.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ var ws = null;
var wsTimeout = 0;
var wsConnected = false;
const wsConnect = () => {
ws = new WebSocket("ws://" + location.host + "/ws");
ws = new WebSocket((location.protocol == "https:" ? "wss://" : "ws://") + location.host + "/ws");
ws.binaryType = "arraybuffer";
ws.onopen = () => {
ws.send("alive?");
Expand Down

0 comments on commit cbbfcdc

Please sign in to comment.