X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Lucu.git;a=blobdiff_plain;f=examples%2FImplantedSmall.hs;h=af35b6320979db7d247649b90e3041e66ee1e4bb;hp=9ee3466e1217c39fb4bbda99fa611137310a5452;hb=0214f070b80791323430e21b53bcbe8a77b71b23;hpb=05375cbaf2dda1e8146f6cdbbd635e59de54a732 diff --git a/examples/ImplantedSmall.hs b/examples/ImplantedSmall.hs index 9ee3466..af35b63 100644 --- a/examples/ImplantedSmall.hs +++ b/examples/ImplantedSmall.hs @@ -1,9 +1,8 @@ -import Network import Network.HTTP.Lucu import SmallFile main :: IO () -main = let config = defaultConfig { cnfServerPort = PortNumber 9999 } +main = let config = defaultConfig { cnfServerPort = "9999" } resources = mkResTree [ ([], smallFile) ] in do putStrLn "Access http://localhost:9999/ with your browser."