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:
Danielle McLean 2017-10-02 20:31:49 +11:00
parent a981947374
commit 1794e63bb0
Signed by: 00dani
GPG key ID: 3844A6973C6058F1
3 changed files with 18 additions and 3 deletions

View file

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