| author | Jose Quintana <joseluisquintana20@gmail.com> | 2019-12-26 23:55:49.0 +00:00:00 |
|---|---|---|
| committer | Jose Quintana <joseluisquintana20@gmail.com> | 2019-12-26 23:55:49.0 +00:00:00 |
| commit | 3e64cbbeb8d20d3d805d5418657f2116937664b3 [patch] |
|
| tree | 7a391189b69fcdc17dc7ccfd4d6b32ddf43805bb |
|
| parent | 93da5ac2be0a850661ae57eb2f76afb63aa3a2b3 |
|
| download | 3e64cbbeb8d20d3d805d5418657f2116937664b3.tar.gz |
|
docs: update server config info
Diff
src/config.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index a3ff87f..305c32a 100644 use StructOpt; /// A blazing fast static files-serving web server powered by Rust Iron default_value = "./public/50x.html", env = "SERVER_ERROR_PAGE_50X" )] /// HTML file path for 50x errors /// 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. pub page50x: String, long, default_value = "./public/404.html", env = "SERVER_ERROR_PAGE_404" )] /// HTML file path for 404 errors /// 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. pub page404: String, }