diff options
author | rustdesk <[email protected]> | 2024-05-26 21:43:13 +0800 |
---|---|---|
committer | rustdesk <[email protected]> | 2024-05-26 21:43:13 +0800 |
commit | e40994d62e5ca066e0b4560a368927bdd21c31b9 (patch) | |
tree | 21b63121daa520a320ebd7108a4f23d87808d488 /src | |
parent | 5078a1f7971f4b5a507bd7164f1eb960e5195369 (diff) | |
download | rustdesk-server-e40994d62e5ca066e0b4560a368927bdd21c31b9.tar.gz rustdesk-server-e40994d62e5ca066e0b4560a368927bdd21c31b9.zip |
remove useless KEY_FOR_API
Diffstat (limited to 'src')
-rw-r--r-- | src/rendezvous_server.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rendezvous_server.rs b/src/rendezvous_server.rs index bb99ee0..3449e75 100644 --- a/src/rendezvous_server.rs +++ b/src/rendezvous_server.rs @@ -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) } |