4 import qualified Data.Collections as C
7 import Network.HTTP.Lucu
12 main = let config = def { cnfServerPort = "9999" }
14 tree = C.fromList [ ([], nonGreedy smallFile) ]
16 do putStrLn "Access http://localhost:9999/ with your browser."
17 withSocketsDo ∘ runHttpd config $ resourceMap tree