From 7783600918dce955c87797f80e94696389fd5415 Mon Sep 17 00:00:00 2001 From: Simon Strandgaard Date: Fri, 18 Dec 2020 22:32:36 +0100 Subject: [PATCH] Improve the "basics" example (#393) --- basics/README.md | 2 +- basics/static/404.html | 2 +- basics/static/welcome.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/basics/README.md b/basics/README.md index 22ff472d..f6b72aad 100644 --- a/basics/README.md +++ b/basics/README.md @@ -16,7 +16,7 @@ cargo run - [http://localhost:8080/async-body/bob](http://localhost:8080/async-body/bob) - [http://localhost:8080/user/bob/](http://localhost:8080/user/bob/) text/plain download - [http://localhost:8080/test](http://localhost:8080/test) (return status switch GET or POST or other) -- [http://localhost:8080/favicon](http://localhost:8080/static/favicon.htmicol) +- [http://localhost:8080/favicon](http://localhost:8080/favicon) - [http://localhost:8080/welcome](http://localhost:8080/static/welcome.html) - [http://localhost:8080/notexit](http://localhost:8080/static/404.html) display 404 page - [http://localhost:8080/error](http://localhost:8080/error) Panic after request diff --git a/basics/static/404.html b/basics/static/404.html index e140a1d9..b3a938ba 100644 --- a/basics/static/404.html +++ b/basics/static/404.html @@ -3,7 +3,7 @@ actix - basics - + diff --git a/basics/static/welcome.html b/basics/static/welcome.html index a5c76c81..02126e13 100644 --- a/basics/static/welcome.html +++ b/basics/static/welcome.html @@ -3,11 +3,11 @@ actix - basics - + -

Welcome

+

Welcome

\ No newline at end of file