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:
committed by
GitHub
parent
3ca462355b
commit
61fc66c5e5
@ -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()
|
||||
})))
|
||||
})
|
||||
|
Reference in New Issue
Block a user