1
0
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:
EasyToFindName
2018-09-30 23:14:57 +03:00
committed by Douman
parent 62a0101c07
commit 024e21439e
3 changed files with 2 additions and 92 deletions

View File

@ -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