fix
This commit is contained in:
parent
b712e2cf57
commit
85936392ec
2 changed files with 2 additions and 3 deletions
|
@ -76,8 +76,7 @@ runWebApp h app observer = withSocketsDo $ do
|
|||
#ifndef mingw32_HOST_OS
|
||||
sock <- getSocket h
|
||||
#else
|
||||
let set = defaultSettings
|
||||
sock <- bindPort (settingsPort set) (settingsHost set)
|
||||
sock <- bindPort (settingsPort webAppSettings) (settingsHost webAppSettings)
|
||||
#endif
|
||||
void $ forkIO $ runSettingsSocket webAppSettings sock app
|
||||
sockaddr <- fixSockAddr <$> getSocketName sock
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue