]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - examples/ImplantedSmall.hs
Honor cnfServerV4Addr and cnfServerV6Addr.
[Lucu.git] / examples / ImplantedSmall.hs
index 9ee3466e1217c39fb4bbda99fa611137310a5452..af35b6320979db7d247649b90e3041e66ee1e4bb 100644 (file)
@@ -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."