@ -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");
}
The note is not visible to the blocked user.