Skip to content

Commit

Permalink
Update admin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ipekli committed Feb 21, 2021
1 parent 0142c1d commit 1485a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ let chart;

let ws;
function connectws(){
ws = new WebSocket("wss://domain.com/wss");
ws = new WebSocket("ws://ipek.li/ws");
ws.onopen = () => {
ws.send(JSON.stringify({
type: "authenticate",
Expand Down Expand Up @@ -190,4 +190,4 @@ function hardReset(){
"pass": "SecretPass!",
}
}))
}
}

0 comments on commit 1485a1a

Please sign in to comment.