mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2024-11-24 04:12:34 +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;
|
||||
if !key.is_empty() {
|
||||
key = pk;
|
||||
} else {
|
||||
std::env::set_var("KEY_FOR_API", pk);
|
||||
}
|
||||
}
|
||||
|
||||
if !key.is_empty() {
|
||||
log::info!("Key: {}", key);
|
||||
std::env::set_var("KEY_FOR_API", key.clone());
|
||||
}
|
||||
(key, out_sk)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user