diff options
-rw-r--r-- | Utility/WebApp.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/WebApp.hs b/Utility/WebApp.hs index 274902c3e..225021b2e 100644 --- a/Utility/WebApp.hs +++ b/Utility/WebApp.hs @@ -70,7 +70,7 @@ browserProc url = proc "xdg-open" [url] -} runWebApp :: Maybe HostName -> Wai.Application -> (SockAddr -> IO ()) -> IO () runWebApp h app observer = withSocketsDo $ do - sock <- bindPort (settingsPort webAppSettings) (settingsHost webAppSettings) + sock <- getSocket h void $ forkIO $ runSettingsSocket webAppSettings sock app sockaddr <- fixSockAddr <$> getSocketName sock observer sockaddr |