logs
This commit is contained in:
parent
f726de21e6
commit
86742bf982
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -455,7 +455,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "discoursio-presence"
|
||||
version = "0.2.8"
|
||||
version = "0.2.11"
|
||||
dependencies = [
|
||||
"actix-web",
|
||||
"futures",
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user