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 zorun
parent b74ac1077c
commit ecf9a7b590

View file

@ -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