show env in launching string
This commit is contained in:
parent
0e36cd0e06
commit
642a9bfde2
@ -25,7 +25,7 @@ main = do
|
|||||||
appEnv <- getAppEnv args
|
appEnv <- getAppEnv args
|
||||||
config <- Settings.loadConfig appEnv
|
config <- Settings.loadConfig appEnv
|
||||||
let c = if (port args) /= 0 then config {appPort = (port args) } else config
|
let c = if (port args) /= 0 then config {appPort = (port args) } else config
|
||||||
do hPutStrLn stderr $ "Application launched, listening on port " ++ show (appPort c)
|
do hPutStrLn stderr $ (show appEnv) ++ " application launched, listening on port " ++ show (appPort c)
|
||||||
with~sitearg~ c $ run (appPort c) . debug
|
with~sitearg~ c $ run (appPort c) . debug
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user