feature: allow for static file uploads and deletions

feature: add HEAD and OPTIONS support to static files
This commit is contained in:
Andy Burke 2025-08-01 20:11:17 -07:00
parent 582636ab5a
commit 3ef936d2d6
7 changed files with 900 additions and 120 deletions

View file

@ -66,6 +66,8 @@ listening.
- `SERVERUS_ROOT`: set the root, aka --root on the command line
- `SERVERUS_HANDLERS`: a list of ;-separated directories to look for handlers in
- `SERVERUS_PUT_PATHS_ALLOWED`: a list of ;-separated directories for which file uploads via PUT are allowed
- `SERVERUS_DELETE_PATHS_ALLOWED`: a list of ;-separated directories for which file deletions via DELETE are allowed
### Typescript Handling