Use RustDesk key param in launch URI
This commit is contained in:
parent
040a9e4569
commit
59e68b0032
1 changed files with 2 additions and 0 deletions
|
|
@ -492,6 +492,8 @@ export function buildRustDeskUri(entry: DeviceRemoteAccessEntry) {
|
||||||
if (!identifier) return null
|
if (!identifier) return null
|
||||||
const params = new URLSearchParams()
|
const params = new URLSearchParams()
|
||||||
if (entry.password) {
|
if (entry.password) {
|
||||||
|
// RustDesk aceita "key=" como parâmetro oficial; mantemos "password" por compatibilidade.
|
||||||
|
params.set("key", entry.password)
|
||||||
params.set("password", entry.password)
|
params.set("password", entry.password)
|
||||||
}
|
}
|
||||||
const query = params.toString()
|
const query = params.toString()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue