From ca69bb4b0a8739ea9ac8388e7cfac3cd5b83e814 Mon Sep 17 00:00:00 2001 From: Jeff Baskin Date: Sun, 19 Jun 2022 00:56:00 -0400 Subject: [PATCH] Removed some commented code. --- src/main.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/main.rs b/src/main.rs index a3c94db..5fc744f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,17 +6,6 @@ use settings::Settings; #[async_std::main] async fn main() -> tide::Result<()> { - //let settings = Config::builder() - // .set_default("address", "127.0.0.1")? - // .set_default("port", 9090)? - // .add_source( - // config::Environment::with_prefix("MTT") - // .try_parsing(true) - // .separator("_") - // .list_separator(" "), - // ) - // .build() - // .unwrap(); let sett = Settings::new().unwrap(); let app = app_setup().await; app.listen(format!("{}:{}", sett.address, sett.port))