1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-09-02 04:56:38 +02:00

Normalizing code formatting based on actix-web style

This commit is contained in:
Stefan Puhlmann
2019-05-21 21:39:48 +02:00
parent 5b138af1b9
commit bf34d11a49
3 changed files with 69 additions and 55 deletions

View File

@@ -32,8 +32,7 @@ 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();