Skip to content

Commit ecf9a7b

Browse files
aristocrateszorun
authored andcommitted
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.
1 parent b74ac10 commit ecf9a7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ ADMIN_PASSWORD needs to be set.
128128
## APPLICATION_ROOT
129129

130130
If empty, ihatemoney will be served at domain root (e.g:
131-
*http://domain.tld*), if set to `"somestring"`, it will be served from a
131+
*http://domain.tld*), if set to `"/somestring"`, it will be served from a
132132
"folder" (e.g: *http://domain.tld/somestring*).
133133

134-
- **Default value:** `""` (empty string)
134+
- **Default value:** `"/"`
135135

136136
## BABEL_DEFAULT_TIMEZONE
137137

0 commit comments

Comments
 (0)