mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-30 11:51:57 +00:00
suggested changes
This commit is contained in:
BIN
resources/sys/agent/0.0.1/agent-001
Executable file
BIN
resources/sys/agent/0.0.1/agent-001
Executable file
Binary file not shown.
@@ -170,13 +170,13 @@ appMain = do
|
|||||||
useEnv
|
useEnv
|
||||||
|
|
||||||
-- Generate the foundation from the settings
|
-- Generate the foundation from the settings
|
||||||
makeFoundation settings >>= (startApp settings)
|
makeFoundation settings >>= startApp
|
||||||
|
|
||||||
startApp :: AppSettings -> AgentCtx -> IO ()
|
startApp :: AgentCtx -> IO ()
|
||||||
startApp settings foundation = do
|
startApp foundation = do
|
||||||
-- set up ssl certificates
|
-- set up ssl certificates
|
||||||
putStrLn @Text "Setting up SSL"
|
putStrLn @Text "Setting up SSL"
|
||||||
_ <- setupSsl settings
|
_ <- setupSsl $ appSettings foundation
|
||||||
putStrLn @Text "SSL Setup Complete"
|
putStrLn @Text "SSL Setup Complete"
|
||||||
startWeb foundation
|
startWeb foundation
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user