diff --git a/basics/src/main.rs b/basics/src/main.rs index 46e9cbc..b4fbe9e 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 b2fbfcd..0000000 --- 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 b85527f..48bf3cf 100644 --- a/basics/static/welcome.html +++ b/basics/static/welcome.html @@ -1,5 +1,5 @@ actix - basics - +

Welcome