index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2020-04-21 9:29:00.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2020-04-21 9:29:00.0 +00:00:00
commit
8a5cf798ea0e2bc6bbb8174fe59a0a7a2c73bcc0 [patch]
tree
c0d1d7a4b77846ca0038e82ba63693c951aa5be3
parent
2f7d042125b3f0587097ac24dd443cf83361a56c
download
8a5cf798ea0e2bc6bbb8174fe59a0a7a2c73bcc0.tar.gz

docs: clarify assets default option value



Diff

 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 0665025..f7deffb 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ Server can be configured either via environment variables or their equivalent co
| `SERVER_HOST` | Host address (E.g 127.0.0.1). | Default `[::]`. |
| `SERVER_PORT` | Host port. | Default `80`. |
| `SERVER_ROOT` | Root directory path of static files. | Default `./public`. |
| `SERVER_ASSETS` | Assets directory path for add cache headers functionality. | Default `./assets` but relative to the root. |
| `SERVER_ASSETS` | Assets directory path for add cache headers functionality. | Default `./public/assets`. |
| `SERVER_LOG_LEVEL` | Specify a logging level in lower case (see [log::LevelFilter]https://docs.rs/log/0.4.10/log/enum.LevelFilter.html). | Default `error` |
| `SERVER_ERROR_PAGE_404` | HTML file path for 404 errors. | If path is not specified or simply don't exists then server will use a generic HTML error message. Default `./public/404.html`.
| `SERVER_ERROR_PAGE_50X` | HTML file path for 50x errors. | If path is not specified or simply don't exists then server will use a generic HTML error message. Default `./public/50x.html` |
@@ -50,7 +50,7 @@ Server can be configured either via environment variables or their equivalent co
CLI arguments listed with `static-web-server -h`.

```
static-web-server 1.7.0
static-web-server 1.8.0
A blazing fast static files-serving web server powered by Rust Iron

USAGE: