on master help sign in
Don't expose proxied backend to the user
commit5befac555022812fc9c3043ebc68c199b372b8fe authorRyan Trinkle <ryan.trinkle@gmail.com> dateTue 10 Jul 2018, 16:12 (8 years ago) parent184e85c
1 file changed−1
lib/run/src/Obelisk/Run.hs−1
lib/run/src/Obelisk/Run.hs−1
@@ -76,7 +76,6 @@ run :: (Universe route, Ord route, Show route)
7676run port backend frontend = do
7777 let handleBackendErr (e :: IOException) = hPutStrLn stderr $ "backend stopped; make a change to your code to reload - error " <> show e
7878 backendTid <- forkIO $ handle handleBackendErr $ withArgs ["--quiet", "--port", show port] backend
79− putStrLn $ "Backend running on port " <> show port
8079 let conf = defRunConfig { _runConfig_redirectPort = port }
8180 runWidget conf frontend `finally` killThread backendTid
8281