on master help sign in
wai: Update README
commit3cb9faa6db3c4df1d75bb583d082f39be94a65b3 authorSimon Hengel <sol@typeful.net> dateSat 7 Dec 2013, 11:40 (13 years ago) parentda570bf
2 files changed+4−3
wai/.ghci+2−1 wai/README.md+2−2
wai/.ghci+2−1
@@ -1 +1,2 @@
1−:set -i../warp -i../warp/dist/build/autogen/ -pgmL markdown-unlit
1+:set -optP-include -optPdist/build/autogen/cabal_macros.h -pgmL markdown-unlit
2+:set -i../warp -i../warp/dist/build/autogen/ -optP-include -optP../warp/dist/build/autogen/cabal_macros.h
wai/README.md+2−2
@@ -54,7 +54,7 @@ Now we redefine `responseBody` to refer to that file:
5454app2 :: Application
5555app2 _ = return index
5656
57−index = ResponseFile
57+index = responseFile
5858 status200
5959 [("Content-Type", "text/html")]
6060 "index.html"
@@ -79,7 +79,7 @@ app3 request = case rawPathInfo request of
7979 "/raw/" -> return plainIndex
8080 _ -> return notFound
8181
82−plainIndex = ResponseFile
82+plainIndex = responseFile
8383 status200
8484 [("Content-Type", "text/plain")]
8585 "index.html"