mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-01-20 14:00:56 +00:00
fix(webclient): port
This commit is contained in:
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) {
|
||||
|
||||
Reference in New Issue
Block a user