mirror of
https://github.com/actix/actix-web.git
synced 2024-12-23 00:26:34 +00:00
update readme
This commit is contained in:
parent
b1f33e29ec
commit
91ffab8f6e
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ fn main() {
|
|||
HttpServer::new(
|
||||
|| Application::new()
|
||||
.resource("/{name}", |r| r.f(index)))
|
||||
.serve::<_, ()>("127.0.0.1:8080");
|
||||
.serve("127.0.0.1:8080");
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue