1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-30 12:00:38 +00:00

Merge branch 'master' of github.com:actix/actix-web

This commit is contained in:
Nikolay Kim 2019-03-28 20:27:59 -07:00
commit 10b166404e

View file

@ -37,9 +37,9 @@ fn main() -> std::io::Result<()> {
HttpServer::new(
|| App::new().service(
web::resource("/{id}/{name}/index.html")
.route(web::get().to(index)))
.route(web::get().to(index))))
.bind("127.0.0.1:8080")?
.run();
.run()
}
```