diff options
author | morguldir <morguldir@protonmail.com> | 2022-07-26 09:05:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 08:05:34 +0100 |
commit | 0c5e250800f1b8f50ea832bf414a5a7cdfe944a4 (patch) | |
tree | 9ee6802b12d0400d34c3d07f484d88c081d146a1 /docs | |
parent | f946644cebb94bb62646cce6fcf3900fe71e2bea (diff) |
Add support for prepending a path to all routes for the server (#484)
* Add support for prepending a path to all routes
* Don't nest if there is no path provided
Co-authored-by: Conrad Ludgate <oon@conradludgate.com>
* Change the default for the path variable
* run cargo-fmt
Co-authored-by: Conrad Ludgate <oon@conradludgate.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/server.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/server.md b/docs/server.md index 79e622396..b4f41ddfd 100644 --- a/docs/server.md +++ b/docs/server.md @@ -67,6 +67,12 @@ Defaults to `false`. A valid postgres URI, where the user and history data will be saved to. +### path + +A path to prepend to all the routes of the server. Any empty string means that nothing will be prepended. + +Defaults to `""` + ## Container deployment instructions You can deploy you own atuin server in a container: |