]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - examples/ImplantedSmall.hs
Code clean-up (and close ditz/lucu-1)
[Lucu.git] / examples / ImplantedSmall.hs
index 1a652111237fba6fa022ed50af437a3a29a80355..af35b6320979db7d247649b90e3041e66ee1e4bb 100644 (file)
@@ -1,11 +1,10 @@
-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."
-            runHttpd config resources
+            runHttpd config resources []
                                    
\ No newline at end of file