2024-09-16 19:44:19 +00:00
|
|
|
# Motto
|
|
|
|
|
2024-09-19 20:37:51 +00:00
|
|
|
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 variable 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) |
|
2024-09-19 20:37:51 +00:00
|
|
|
|
|
|
|
### 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
|