logs
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user