Restore the staticRoot option from older versions of Yesod's scaffolding, so I can host static files on a subdomain easily
This commit is contained in:
parent
a981947374
commit
1794e63bb0
3 changed files with 18 additions and 3 deletions
|
@ -6,9 +6,8 @@ host: "_env:HOST:127.0.0.1"
|
|||
port: "_env:PORT:3000" # NB: The port `yesod devel` uses is distinct from this value. Set the `yesod devel` port from the command line.
|
||||
ip-from-header: "_env:IP_FROM_HEADER:true"
|
||||
|
||||
# Default behavior: determine the application root from the request headers.
|
||||
# Uncomment to set an explicit approot
|
||||
#approot: "_env:APPROOT:http://localhost:3000"
|
||||
approot: "_env:APPROOT:https://00dani.dev"
|
||||
static-root: "_env:STATIC_ROOT:https://static.00dani.dev"
|
||||
|
||||
# Optional values with the following production defaults.
|
||||
# In development, they default to the inverse.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue