Permalink
Browse files

Update to use latest happstack-server.

This removes dependency on tls library.
  • Loading branch information...
1 parent ca15457 commit b874e94818a0dc7ce1bc520bfa6f2b06617bcc00 John MacFarlane committed Feb 26, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 gitit.cabal
  2. +2 −2 gitit.hs
View
@@ -157,7 +157,7 @@ Executable gitit
filestore >= 0.4.0.2 && < 0.5,
zlib >= 0.5 && < 0.6,
url >= 2.1 && < 2.2,
- happstack-server >= 6.5 && < 6.6,
+ happstack-server >= 6.6 && < 6.7,
happstack-util >= 6.0 && < 6.1,
xml >= 1.3.5,
hslogger >= 1 && < 1.2,
View
@@ -77,7 +77,7 @@ main = do
initializeGititState conf'
let serverConf = Conf { validator = Nothing, port = portNumber conf',
- timeout = 20, logAccess = Nothing, tls = Nothing }
+ timeout = 20, logAccess = Nothing }
-- open the requested interface
sock <- socket AF_INET Stream defaultProtocol
@@ -87,7 +87,7 @@ main = do
listen sock 10
-- start the server
- simpleHTTPWithSocket sock Nothing serverConf $ msum [ wiki conf'
+ simpleHTTPWithSocket sock serverConf $ msum [ wiki conf'
, dir "_reloadTemplates" reloadTemplates
]

0 comments on commit b874e94

Please sign in to comment.