@@ -471,7 +471,9 @@
connect() {
this.ws = new WebSocket(
- process.env.NODE_ENV === 'development' ? `ws://${process.env.NEKO_DEV}/ws?password=${this.password}` : `${/https/gi.test(location.protocol) ? 'wss' : 'ws'}://${location.host}/ws?password=${this.password}` ,
+ process.env.NODE_ENV === 'development'
+ ? `ws://${process.env.VUE_APP_SERVER}/ws?password=${this.password}`
+ : `${/https/gi.test(location.protocol) ? 'wss' : 'ws'}://${location.host}/ws?password=${this.password}`,
)
this.ws.onmessage = this.onMessage.bind(this)