feature: SERVERUS_ROOT environment variable

This commit is contained in:
Andy Burke 2025-06-25 17:06:05 -07:00
parent 26125f4f11
commit c92ef0688b
5 changed files with 55 additions and 1 deletions

View file

@ -46,6 +46,11 @@ The default handlers are:
You just start serverus in a directory (or specify a root) and it tells you where it's
listening.
## Environment Variables
- `SERVERUS_ROOT`: set the root, aka --root on the command line
- `SERVERUS_HANDLERS`: a list of ;-separated directories to look for handlers in
### Typescript Handling
These types and interface define the default serverus Typescript handler's expected