Add basic README and fix help from not exiting early
This commit is contained in:
parent
a166f0e4b3
commit
92d13131fc
2 changed files with 6 additions and 0 deletions
|
@ -1,2 +1,7 @@
|
|||
# precompress
|
||||
|
||||
A script for "precompressing" static files for use with [Caddy](https://caddyserver.com/).
|
||||
|
||||
## Documentation
|
||||
|
||||
Run `./precompress help`
|
||||
|
|
|
@ -20,6 +20,7 @@ case "${1:-}" in
|
|||
Primarily used for Caddy's file_sever directive's precompresed option.
|
||||
It will compress every non brotli, zstandard, or gzip file.
|
||||
EOF
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in a new issue