mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
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:
parent
76e8b3baf0
commit
a810f53f40
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue