do not load empty custom_client_config
This commit is contained in:
parent
01ec539065
commit
bc0ab88e74
@ -2124,7 +2124,9 @@ pub mod server_side {
|
||||
*config::APP_DIR.write().unwrap() = app_dir.into();
|
||||
}
|
||||
if let Ok(custom_client_config) = env.get_string(&custom_client_config) {
|
||||
crate::read_custom_client(custom_client_config);
|
||||
if !custom_client_config.is_empty() {
|
||||
crate::read_custom_client(custom_client_config);
|
||||
}
|
||||
}
|
||||
std::thread::spawn(move || start_server(true));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user