1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

Updated security/openssl to v4. (#515)

This commit is contained in:
Christopher Gubbin
2022-01-31 12:59:26 +00:00
committed by GitHub
parent 3ca462355b
commit 61fc66c5e5
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ async fn main() -> io::Result<()> {
// with path parameters
.service(web::resource("/").route(web::get().to(|| {
HttpResponse::Found()
.header("LOCATION", "/index.html")
.append_header(("LOCATION", "/index.html"))
.finish()
})))
})