1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

update deps

This commit is contained in:
Nikolay Kim
2019-12-25 20:48:33 +04:00
parent a0812c9b29
commit e8ab9ee7ca
76 changed files with 85 additions and 89 deletions

View File

@ -21,7 +21,7 @@ fn run_app(tx: mpsc::Sender<Server>) -> std::io::Result<()> {
.service(web::resource("/").to(index))
})
.bind("127.0.0.1:8080")?
.start();
.run();
// send server controller to main thread
let _ = tx.send(srv.clone());