Skip to content

Commit

Permalink
WSS
Browse files Browse the repository at this point in the history
  • Loading branch information
A2020GK committed Mar 10, 2024
1 parent 411988d commit 82b737e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (onlineMode) {
let serverAddr = prompt("Plase enter server address");
let nickname = prompt("Please enter your nickname");

let server = new WebSocket(`ws://${serverAddr}:8080`);
let server = new WebSocket(`wss://${serverAddr}:8080`);

let size = 64;

Expand Down

0 comments on commit 82b737e

Please sign in to comment.