From ecf9a7b590ef347c1f56519e2a50e932b6454ab2 Mon Sep 17 00:00:00 2001 From: "Nicholas (Nick) Meyer" Date: Sun, 19 Nov 2023 22:24:51 -0800 Subject: [PATCH] Fix APPLICATION_ROOT example in docs If the application is hosted on the path /somestring, static asset paths need to have prefix /somestring/static/ but setting APPLICATION_ROOT to "somestring" will result in a relative path which will give a 4XX. Using "/somestring" fixes this. Also fix default value, which is "/" and not the empty string. --- docs/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 842f0551..eb5f52e9 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -128,10 +128,10 @@ ADMIN_PASSWORD needs to be set. ## APPLICATION_ROOT If empty, ihatemoney will be served at domain root (e.g: -*http://domain.tld*), if set to `"somestring"`, it will be served from a +*http://domain.tld*), if set to `"/somestring"`, it will be served from a "folder" (e.g: *http://domain.tld/somestring*). -- **Default value:** `""` (empty string) +- **Default value:** `"/"` ## BABEL_DEFAULT_TIMEZONE