diff --git a/README.md b/README.md index 9502c6501..275036489 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ fn index(req: HttpRequest) -> String { fn main() { HttpServer::new( - Application::new("/") + Application::new() .resource("/{name}", |r| r.method(Method::GET).f(index))) .serve::<_, ()>("127.0.0.1:8080"); }