This commit is contained in:
Joey Hess 2013-12-06 22:38:01 -04:00
parent b712e2cf57
commit 85936392ec
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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)