mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-09-15 14:28:34 +08:00
fix(webclient): port
This commit is contained in:
parent
c7f3d13b7f
commit
7fa9b79f31
2
resources/web2/js/dist/index.js
vendored
2
resources/web2/js/dist/index.js
vendored
@ -11093,7 +11093,7 @@ function getUriFromRs(uri, isRelay = false, roffset = 0) {
|
||||
if (!isHttps()) {
|
||||
// http 直接走端口
|
||||
const port = uriport ? parseInt(uriport) : defaultIdServerPort;
|
||||
return p + domain + ":" + (port + (isRelay ? roffset || 3 : 2))
|
||||
return p + domain + ":" + (port + (isRelay ? 3 : 2))
|
||||
}
|
||||
// https 分情况
|
||||
if (!window.location.port) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user