From 024e21439e6208aa180789631e7d31f275a1b334 Mon Sep 17 00:00:00 2001 From: EasyToFindName <34809118+EasyToFindName@users.noreply.github.com> Date: Sun, 30 Sep 2018 23:14:57 +0300 Subject: [PATCH] Fix favicon's href (#51) * Fix favicon's href * Remove wrong index.html --- basics/src/main.rs | 2 +- basics/static/index.html | 90 -------------------------------------- basics/static/welcome.html | 2 +- 3 files changed, 2 insertions(+), 92 deletions(-) delete mode 100644 basics/static/index.html diff --git a/basics/src/main.rs b/basics/src/main.rs index 46e9cbc5..b4fbe9e9 100644 --- a/basics/src/main.rs +++ b/basics/src/main.rs @@ -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 diff --git a/basics/static/index.html b/basics/static/index.html deleted file mode 100644 index b2fbfcd2..00000000 --- a/basics/static/index.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - -

Chat!

-
-  | Status: - disconnected -
-
-
-
- - -
- - \ No newline at end of file diff --git a/basics/static/welcome.html b/basics/static/welcome.html index b85527fa..48bf3cfe 100644 --- a/basics/static/welcome.html +++ b/basics/static/welcome.html @@ -1,5 +1,5 @@ actix - basics - +

Welcome