diff options
author | Norberto Lopes <nlopes.ml@gmail.com> | 2023-08-04 16:00:11 +0000 |
---|---|---|
committer | Norberto Lopes <nlopes.ml@gmail.com> | 2023-08-06 08:34:08 +0000 |
commit | 1fd606031d018854d2b8d08d30863105567fcccc (patch) | |
tree | ad263938cd57951c519f3351b7ca9d9a480c7f4f /src/errors.rs | |
parent | Add CHANGELOG entry for #1191 (diff) | |
download | miniserve-1fd606031d018854d2b8d08d30863105567fcccc.tar.gz miniserve-1fd606031d018854d2b8d08d30863105567fcccc.zip |
Add pretty urls
This adds a new flag namely `--pretty-urls` that when enabled will serve the equivalent
`.html` if it exists.
Very much the same approach that [`netlify`
uses](https://docs.netlify.com/site-deploys/post-processing/).
It can be quite useful when having hrefs like `/about` serve `/about.html`.
Diffstat (limited to 'src/errors.rs')
0 files changed, 0 insertions, 0 deletions