From 0c5e250800f1b8f50ea832bf414a5a7cdfe944a4 Mon Sep 17 00:00:00 2001 From: morguldir Date: Tue, 26 Jul 2022 09:05:34 +0200 Subject: 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 * Change the default for the path variable * run cargo-fmt Co-authored-by: Conrad Ludgate --- docs/server.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/server.md b/docs/server.md index 79e62239..b4f41ddf 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: -- cgit v1.3.1