suggested changes

This commit is contained in:
Lucy Cifferello
2020-07-06 15:09:12 -06:00
parent 97120c8fb9
commit 5daf01e341
2 changed files with 4 additions and 4 deletions

View File

@@ -170,13 +170,13 @@ appMain = do
useEnv
-- Generate the foundation from the settings
makeFoundation settings >>= (startApp settings)
makeFoundation settings >>= startApp
startApp :: AppSettings -> AgentCtx -> IO ()
startApp settings foundation = do
startApp :: AgentCtx -> IO ()
startApp foundation = do
-- set up ssl certificates
putStrLn @Text "Setting up SSL"
_ <- setupSsl settings
_ <- setupSsl $ appSettings foundation
putStrLn @Text "SSL Setup Complete"
startWeb foundation