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

update chat-broker example and fmt

This commit is contained in:
Nikolay Kim
2019-07-11 15:02:25 +06:00
parent 4aa663e794
commit 93275d7986
11 changed files with 51 additions and 61 deletions

View File

@ -32,7 +32,8 @@ fn main() {
App::new()
.wrap(middleware::Logger::default())
.service(web::resource("/").route(web::post().to(index)))
}).bind("127.0.0.1:8081")
})
.bind("127.0.0.1:8081")
.unwrap()
.shutdown_timeout(1)
.start();