1
0
mirror of https://github.com/actix/examples synced 2025-06-29 10:14:58 +02:00

upgrade actix-web

This commit is contained in:
Nikolay Kim
2019-05-12 11:58:26 -07:00
parent 68509a7eaf
commit cee9142257
34 changed files with 54 additions and 53 deletions

View File

@ -87,6 +87,7 @@ fn main() -> std::io::Result<()> {
HttpServer::new(move || {
App::new()
.data(Client::new())
.data(forward_url.clone())
.wrap(middleware::Logger::default())
.default_service(web::route().to_async(forward))