this._ws=new WebSocket("wss://pianoverse.net","pianoverse") let wsurl=""; if(!localStorage.host) { wsurl = "wss://api.pianoverse.me"; } else if(localStorage.host=="mainline") { wsurl = "wss://pianoverse.net" } else if(localStorage.host == "dev") { wsurl = "ws://127.0.0.1:8081" } else { wsurl = localStorage.host; }; this._ws = new WebSocket(wsurl,"pianoverse")