release: bal-server-0.1.0

This commit is contained in:
bitcoinafterlife
2025-04-21 21:30:15 -04:00
parent 71e3805b8f
commit 19c077256a
3 changed files with 48 additions and 227 deletions

View File

@@ -398,12 +398,16 @@ fn parse_env(cfg: &Arc<Mutex<MyConfig>>){
}
match env::var("BAL_SERVER_BIND_ADDRESS") {
Ok(value) => {
cfg_lock.bind_address = value;},
cfg_lock.bind_address= value;},
Err(_) => {},
}
match env::var("BAL_SERVER_BIND_PORT") {
Ok(value) => {
cfg_lock.bind_address = value;},
match value.parse::<u16>(){
Ok(value) =>{ cfg_lock.bind_port = value; },
Err(_) => {},
}
}
Err(_) => {},
}
cfg_lock = parse_env_netconfig(cfg_lock,"regtest");