This commit is contained in:
Michael Snoyman 2012-09-14 06:46:13 +03:00
parent da1b03b1d3
commit 50e73b2b0c

View File

@ -105,7 +105,7 @@ start tf portman postgres logger appname bundle removeFromList = do
]
Nothing -> []
let env = ("PORT", show port)
: ("APPROOT", (if configSsl then "https://" else "http://") ++ configHost config)
: ("APPROOT", (if configSsl config then "https://" else "http://") ++ configHost config)
: otherEnv
run
("config" </> configExec config)