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
|
||||
|
|
|
@ -168,7 +168,7 @@ Executable git-annex
|
|||
yesod, yesod-default, yesod-static, yesod-form, yesod-core,
|
||||
case-insensitive, http-types, transformers, wai, wai-logger, warp,
|
||||
blaze-builder, crypto-api, hamlet, clientsession,
|
||||
template-haskell, data-default, aeson
|
||||
template-haskell, data-default, aeson, network-conduit
|
||||
CPP-Options: -DWITH_WEBAPP
|
||||
|
||||
if flag(Pairing)
|
||||
|
|
Loading…
Reference in a new issue