Commit b4dde5f3 authored by gga19's avatar gga19
Browse files

Updated server configuration

parent e1b6d2b4
import Happstack.Server
main = simpleHTTP nullConf $ return "hello, world!"
myConf = Conf
{ port = 5001
, validator = Nothing
, logAccess = Just logMAccess
, timeout = 30
, threadGroup = threadGroup nullConf
}
main = simpleHTTP myConf $ return "hello, world!"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment