Compare commits

...

2 Commits

Author SHA1 Message Date
lejianwen
d4015d7284 fix 2024-11-20 09:20:29 +08:00
lejianwen
a9bf3fda73 fix https://github.com/lejianwen/rustdesk-api/discussions/59#discussioncomment-11306760 2024-11-20 09:17:29 +08:00

View File

@@ -38990,7 +38990,7 @@ function z4(u, e = !1, i = 0) {
const p = vn() ? "wss://" : "ws://"
const domain = uriDomain(u)
const uriport = uriPort(u)
if (vn() && (!uriport || uriport == '443')){
if (vn() && (!uriport)){
return p + domain + "/ws/" + (e ? "relay" : "id");
}
@@ -39047,7 +39047,7 @@ async function hn(u) {
let l = [], E = [];
for (let c = 0; c < e.length; c++) {
const C = 1 << 7 - c % 8;
(s[c / 8] & C) === C ? l.push(e[c]) : E.push(e[c])
(s[Math.floor(c / 8)] & C) === C ? l.push(e[c]) : E.push(e[c])
}
et(l, E), o.close();
return