mirror of
https://github.com/fafhrd91/actix-web
synced 2025-07-02 17:24:39 +02:00
update examples
This commit is contained in:
@ -27,7 +27,7 @@ fn index(req: HttpRequest<State>) -> Result<HttpResponse, Error> {
|
||||
};
|
||||
Ok(HttpResponse::Ok()
|
||||
.content_type("text/html")
|
||||
.body(s)?)
|
||||
.body(s))
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
Reference in New Issue
Block a user