Update config.rs
This commit is contained in:
1 parent
03628a8289
commit
97266d7c18
1 file changed
+1
-1
+1
-1
@@ -55,7 +55,7 @@ lazy_static::lazy_static! {
|
|||||||
static ref LOCAL_CONFIG: RwLock<LocalConfig> = RwLock::new(LocalConfig::load());
|
static ref LOCAL_CONFIG: RwLock<LocalConfig> = RwLock::new(LocalConfig::load());
|
||||||
static ref TRUSTED_DEVICES: RwLock<(Vec<TrustedDevice>, bool)> = Default::default();
|
static ref TRUSTED_DEVICES: RwLock<(Vec<TrustedDevice>, bool)> = Default::default();
|
||||||
static ref ONLINE: Mutex<HashMap<String, i64>> = Default::default();
|
static ref ONLINE: Mutex<HashMap<String, i64>> = Default::default();
|
||||||
pub static ref PROD_RENDEZVOUS_SERVER: RwLock<String> = "".to_owned();
|
pub static ref PROD_RENDEZVOUS_SERVER: RwLock<String> = RwLock::new("".to_owned());
|
||||||
pub static ref EXE_RENDEZVOUS_SERVER: RwLock<String> = Default::default();
|
pub static ref EXE_RENDEZVOUS_SERVER: RwLock<String> = Default::default();
|
||||||
pub static ref APP_NAME: RwLock<String> = RwLock::new("RustDesk".to_owned());
|
pub static ref APP_NAME: RwLock<String> = RwLock::new("RustDesk".to_owned());
|
||||||
static ref KEY_PAIR: Mutex<Option<KeyPair>> = Default::default();
|
static ref KEY_PAIR: Mutex<Option<KeyPair>> = Default::default();
|
||||||
|
|||||||
Reference in new issue
Block a user