Commit 9922df98 authored by Chunchi Che's avatar Chunchi Che

setup srvpro connection

parent 65b053c2
Pipeline #26767 passed with stages
in 9 minutes and 46 seconds
......@@ -2,8 +2,8 @@
"version": 4960,
"servers": [{
"name": "koishi",
"ip": "koishi.momobako.com",
"port": "7211"
"ip": "127.0.0.1",
"port": "8080"
},
{
"name": "mycard-athletic",
......
......@@ -13,7 +13,7 @@ export class WebSocketStream {
stream: ReadableStream;
constructor(ip: string, onWsOpen?: (ws: WebSocket, ev: Event) => any) {
this.ws = new WebSocket("wss://" + ip);
this.ws = new WebSocket("ws://" + ip);
if (onWsOpen) {
this.ws.onopen = (e) => onWsOpen(this.ws, e);
}
......
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