on master help sign in
Merge pull request #17 from haskell-servant/fix_1
350e05eSönke Hahn
servant-server.cabal+1−1
@@ -49,7 +49,7 @@ library
49 , text
49 , text
50 , transformers
50 , transformers
51 , wai
51 , wai
52− , wai-app-static
52+ , wai-app-static >= 3.0.0.6
53 , warp
53 , warp
54 hs-source-dirs: src
54 hs-source-dirs: src
55 default-language: Haskell2010
55 default-language: Haskell2010
test/Servant/Utils/StaticFilesSpec.hs+1−1
@@ -61,4 +61,4 @@ spec = do
61 get "/static/foo.txt" `shouldRespondWith` "bar"
61 get "/static/foo.txt" `shouldRespondWith` "bar"
62
62
63 it "serves the contents of index.html when requesting the root of a directory" $ do
63 it "serves the contents of index.html when requesting the root of a directory" $ do
64− get "/static" `shouldRespondWith` "index"
64+ get "/static/" `shouldRespondWith` "index"