on master help sign in
Merge pull request #203 from sol/master

wai: Update README

commit823de5abbaa60baba2805967b6572ace04c39ff0 authorKazu Yamamoto <kazu@iij.ad.jp> dateSat 7 Dec 2013, 14:00 (13 years ago) parentda570bf3cb9faa
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"