mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
wtf haskell
This commit is contained in:
committed by
Aiden McClelland
parent
8096bef541
commit
d2a70a782b
@@ -21,4 +21,4 @@ getAgentHiddenServiceUrlMaybe = fmap T.strip <$> readSystemPath agentTorHiddenSe
|
||||
-- | 'newTorManager' currently assumes the tor client lives on the localhost. The port comes in over an argument.
|
||||
-- If this is insufficient in the future, feel free to parameterize the host.
|
||||
newTorManager :: Word16 -> IO Manager
|
||||
newTorManager = newTlsManagerWith . mkManagerSettings def . Just . SockSettingsSimple "127.0.0.1" . fromIntegral
|
||||
newTorManager = newManager . mkManagerSettings def . Just . SockSettingsSimple "127.0.0.1" . fromIntegral
|
||||
|
||||
Reference in New Issue
Block a user