From 86742bf982e89f80e927cb7bcbb0bd9c22f67ba2 Mon Sep 17 00:00:00 2001 From: Tony Rewin Date: Fri, 6 Oct 2023 18:13:49 +0300 Subject: [PATCH] logs --- Cargo.lock | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a14d045..4df9b42 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -455,7 +455,7 @@ dependencies = [ [[package]] name = "discoursio-presence" -version = "0.2.8" +version = "0.2.11" dependencies = [ "actix-web", "futures", diff --git a/src/main.rs b/src/main.rs index 20c4f43..9f03bb3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -117,11 +117,11 @@ async fn main() -> std::io::Result<()> { }; println!("Redis client initialized"); HttpServer::new(move || { + println!("Webserver initialized"); App::new() .app_data(web::Data::new(state.clone())) .route("/connect", web::get().to(connect_handler)) .route("/disconnect", web::get().to(disconnect_handler)) - println!("Webserver initialized"); }) .bind("127.0.0.1:8080")? .run()