ob run: Only log where the frontend is running
commitecde298823078b004f5e6b327ac82bb73baff35c
authorLuigy Leon <luigy@outlook.com>
dateWed 9 May 2018, 13:11 (8 years ago)
parent8b8cd91
lib/run-frontend/src/Obelisk/Widget/Run.hs−1
@@ -29,7 +29,6 @@ runWidget conf w = do
2929 let redirectHost = _runConfig_redirectHost conf
3030 redirectPort = _runConfig_redirectPort conf
3131 beforeMainLoop = do
32− putStrLn $ "Backend running on " <> showUrl (BSC.unpack redirectHost) redirectPort
3332 putStrLn $ "Frontend running on " <> showUrl "127.0.0.1" (_runConfig_port conf)
3433 settings = setBeforeMainLoop beforeMainLoop (setPort (_runConfig_port conf) (setTimeout 3600 defaultSettings))
3534 logErr p = putStrLn $ unwords [ "Port", show p, "is in use."]