main = let config = defaultConfig { cnfServerPort = PortNumber 9999 }
resources = mkResTree [ ( []
, helloWorld )
- , ( ["compilers"]
- , staticFile "/etc/compilers" )
+
+ , ( ["index.html"]
+ , staticFile "/Users/admin/Sites/index.html" )
+
+ , ( ["urandom"]
+ , staticFile "/dev/urandom" )
+
+ , ( ["inc"]
+ , staticDir "/usr/include" )
]
in
do installHandler sigPIPE Ignore Nothing