✨ feat: add control check to avoid reinitializing logging & fix tests
This commit is contained in:
parent
26b59078b8
commit
4b4dc28cd2
3 changed files with 20 additions and 12 deletions
|
@ -15,7 +15,7 @@ use websurfx::{config::parser::Config, run};
|
|||
#[actix_web::main]
|
||||
async fn main() -> std::io::Result<()> {
|
||||
// Initialize the parsed config file.
|
||||
let config = Config::parse().unwrap();
|
||||
let config = Config::parse(true).unwrap();
|
||||
|
||||
log::info!(
|
||||
"started server on port {} and IP {}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue