mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 08:34:12 +00:00
Revert "Allow setting custom server and key with env variables"
This commit is contained in:
1 parent
a46c373081
commit
7aced73393
3 files changed
+8
-42
No files matched your search
+1
-5
@@ -243,11 +243,7 @@ pub fn set_peer_option(id: String, name: String, value: String) {
|
||||
|
||||
#[inline]
|
||||
pub fn using_public_server() -> bool {
|
||||
if hbb_common::config::RS_PUB_KEY == hbb_common::config::RS_DEF_PUB_KEY {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
crate::get_custom_rendezvous_server(get_option_("custom-rendezvous-server")).is_empty()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
||||
Reference in new issue
Block a user