mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2024-11-27 14:59:21 +08:00
remove useless KEY_FOR_API
This commit is contained in:
parent
5078a1f797
commit
e40994d62e
@ -1182,14 +1182,11 @@ impl RendezvousServer {
|
|||||||
out_sk = sk;
|
out_sk = sk;
|
||||||
if !key.is_empty() {
|
if !key.is_empty() {
|
||||||
key = pk;
|
key = pk;
|
||||||
} else {
|
|
||||||
std::env::set_var("KEY_FOR_API", pk);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if !key.is_empty() {
|
if !key.is_empty() {
|
||||||
log::info!("Key: {}", key);
|
log::info!("Key: {}", key);
|
||||||
std::env::set_var("KEY_FOR_API", key.clone());
|
|
||||||
}
|
}
|
||||||
(key, out_sk)
|
(key, out_sk)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user