log starting both web servers

This commit is contained in:
Lucy Cifferello
2020-08-19 13:27:40 -06:00
parent 74564d3170
commit b772440145

View File

@@ -203,8 +203,9 @@ startWeb foundation = do
where
startWeb' app = do
let AppSettings{..} = appSettings foundation
putStrLn @Text $ "Launching Web Server on port " <> show appPort
putStrLn @Text $ "Launching Tor Web Server on port " <> show torPort
torAction <- async $ runSettings (warpSettings torPort foundation) app
putStrLn @Text $ "Launching Web Server on port " <> show appPort
action <- async $ runTLS (tlsSettings sslCertLocation sslKeyLocation)
(warpSettings appPort foundation)
app