From 97266d7c180feef8b43726ea6fcb4491e3fd8752 Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Wed, 29 Jan 2025 16:56:17 +0800 Subject: [PATCH] Update config.rs --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 6cae9a2..789f2ec 100644 --- a/src/config.rs +++ b/src/config.rs @@ -55,7 +55,7 @@ lazy_static::lazy_static! { static ref LOCAL_CONFIG: RwLock = RwLock::new(LocalConfig::load()); static ref TRUSTED_DEVICES: RwLock<(Vec, bool)> = Default::default(); static ref ONLINE: Mutex> = Default::default(); - pub static ref PROD_RENDEZVOUS_SERVER: RwLock = "".to_owned(); + pub static ref PROD_RENDEZVOUS_SERVER: RwLock = RwLock::new("".to_owned()); pub static ref EXE_RENDEZVOUS_SERVER: RwLock = Default::default(); pub static ref APP_NAME: RwLock = RwLock::new("RustDesk".to_owned()); static ref KEY_PAIR: Mutex> = Default::default();