From 95deb8024ed8a81495afe4eae0a9b6a6d37b7885 Mon Sep 17 00:00:00 2001 From: krircc Date: Sun, 15 Apr 2018 10:37:52 +0800 Subject: [PATCH] git push fix basics --- basics/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/basics/README.md b/basics/README.md index 82e35e06..53001f17 100644 --- a/basics/README.md +++ b/basics/README.md @@ -12,9 +12,10 @@ cargo run ### web client -- [http://localhost:8080/index.html](http://localhost:8080/index.html) +- [http://localhost:8080/](http://localhost:8080/static/index.html) - [http://localhost:8080/async/bob](http://localhost:8080/async/bob) - [http://localhost:8080/user/bob/](http://localhost:8080/user/bob/) plain/text download - [http://localhost:8080/test](http://localhost:8080/test) (return status switch GET or POST or other) -- [http://localhost:8080/static/index.html](http://localhost:8080/static/index.html) -- [http://localhost:8080/static/notexit](http://localhost:8080/static/notexit) display 404 page +- [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