mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
log starting both web servers
This commit is contained in:
@@ -203,8 +203,9 @@ startWeb foundation = do
|
|||||||
where
|
where
|
||||||
startWeb' app = do
|
startWeb' app = do
|
||||||
let AppSettings{..} = appSettings foundation
|
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
|
torAction <- async $ runSettings (warpSettings torPort foundation) app
|
||||||
|
putStrLn @Text $ "Launching Web Server on port " <> show appPort
|
||||||
action <- async $ runTLS (tlsSettings sslCertLocation sslKeyLocation)
|
action <- async $ runTLS (tlsSettings sslCertLocation sslKeyLocation)
|
||||||
(warpSettings appPort foundation)
|
(warpSettings appPort foundation)
|
||||||
app
|
app
|
||||||
|
|||||||
Reference in New Issue
Block a user