motto/README.md

20 lines
726 B
Markdown
Raw Permalink Normal View History

2024-09-16 19:44:19 +00:00
# Motto
Motto presents files from a static file server in a more friendly way
## Documentation
### Configuration
2024-09-23 19:04:51 +00:00
Configuration is done through environment variables in `.env.local`
| Variable | type | default | description |
|--------------------|---------|---------|---------------------------------------------------|
| `ROOT_URL` | string | N/A | the static file server instance to get files from |
|`ENABLE_REPOINTING` | boolean | `false` | enable [repointing](#Repointing) |
### Repointing
If enabled, repointing allows a url to be specified in the `root` query parameter that will override
the default url of the static file server