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:
@ -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();
|
||||
|
Reference in New Issue
Block a user