qq_41295110
2026-03-16 8a7de013c1d5e0caeac59dedaeb404c5592733a1
utils/common.js
@@ -501,13 +501,13 @@
            httpUrl = httpUrl.substring(0, httpUrl.length - 1)
            let BackSlashLast = httpUrl.lastIndexOf('/')
            httpUrl = httpUrl.substring(0, BackSlashLast)
            httpUrl = "ws://" + httpUrl.split(":")[0]+":8888/ws"
            httpUrl = "ws://" + httpUrl.split(":")[0]+":12345/ws"
        }else if(httpUrl.indexOf("https://") === 0) {
            httpUrl = httpUrl.replace("https://", "")
            httpUrl = httpUrl.substring(0, httpUrl.length - 1)
            let BackSlashLast = httpUrl.lastIndexOf('/')
            httpUrl = httpUrl.substring(0, BackSlashLast)
            httpUrl = "wss://" + httpUrl.split(":")[0]+":8888/ws"
            httpUrl = "wss://" + httpUrl.split(":")[0]+":12345/ws"
        }else{
            // 提示传入连接错误
        }