更新脚本适配ws依赖包

This commit is contained in:
Aaron
2021-02-19 19:31:51 +08:00
committed by Gitee
parent 7a16f9a888
commit 5f12b058f5

View File

@@ -87,7 +87,7 @@ async function mr() {
$.tokens = []
$.pos = []
$.helpInfo = []
const WebSocket = require('websocket').w3cwebsocket
const WebSocket = require('ws')
let client = new WebSocket(`wss://xinruimz-isv.isvjcloud.com/wss/?token=${$.token}`)
client.onopen = async () => {
console.log(`美容研究院服务器连接成功`);