Commit 4f0ef74c authored by Chunchi Che's avatar Chunchi Che

use wss

parent 0baeeb88
Pipeline #20402 passed with stages
in 4 minutes and 53 seconds
......@@ -36,7 +36,7 @@ export default function (action: socketAction) {
case socketCmd.CONNECT: {
const info = action.initInfo;
if (info) {
ws = new WebSocket("ws://" + info.ip);
ws = new WebSocket("wss://" + info.ip);
ws.onopen = () => {
handleSocketOpen(ws, info.ip, info.player, info.passWd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment