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.
This commit is contained in:
Nicholas (Nick) Meyer 2023-11-19 22:24:51 -08:00 committed by Nicholas Meyer
parent 76e8b3baf0
commit a810f53f40

View file

@ -128,10 +128,10 @@ ADMIN_PASSWORD needs to be set.
## APPLICATION_ROOT ## APPLICATION_ROOT
If empty, ihatemoney will be served at domain root (e.g: 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*). "folder" (e.g: *http://domain.tld/somestring*).
- **Default value:** `""` (empty string) - **Default value:** `"/"`
## BABEL_DEFAULT_TIMEZONE ## BABEL_DEFAULT_TIMEZONE