mirror of
https://github.com/actix/examples
synced 2025-06-28 18:00:37 +02:00
Fix favicon's href (#51)
* Fix favicon's href * Remove wrong index.html
This commit is contained in:
@ -120,7 +120,7 @@ fn main() {
|
||||
.resource("/", |r| r.method(Method::GET).f(|req| {
|
||||
println!("{:?}", req);
|
||||
HttpResponse::Found()
|
||||
.header(header::LOCATION, "static/index.html")
|
||||
.header(header::LOCATION, "static/welcome.html")
|
||||
.finish()
|
||||
}))
|
||||
// default
|
||||
|
Reference in New Issue
Block a user