add custom welcome pages support

This commit is contained in:
yggverse 2025-02-24 02:21:54 +02:00
parent 31e33bca28
commit d5883d977e
4 changed files with 66 additions and 6 deletions

View file

@ -39,6 +39,7 @@ openssl pkcs12 -export -out server.pfx -inkey server.pem -in server.crt
* `--mime`, `-m` optional, uploads MIME type whitelist (comma separated, all by default)
* `--directory`, `-d` optional, uploads target directory (`public` by default)
* `--redirect`, `-r` optional, redirection URL on request handle complete (e.g. `gemini://localhost`)
* `--welcome`, `-w` optional, filepath to welcome page template (in gemtext format)
### Start