Merge pull request #17 from haskell-servant/fix_1
cabal: added lower bound for wai-app-static
commit350e05e03533d2c42301a0a00aa89eca3c5d2e73
authorSönke Hahn <soenke.hahn@zalora.com>
dateFri 16 Jan 2015, 13:03 (12 years ago)
parent420fc2a1148e21
servant-server.cabal+1−1
@@ -49,7 +49,7 @@ library
4949 , text
5050 , transformers
5151 , wai
52− , wai-app-static
52+ , wai-app-static >= 3.0.0.6
5353 , warp
5454 hs-source-dirs: src
5555 default-language: Haskell2010
test/Servant/Utils/StaticFilesSpec.hs+1−1
@@ -61,4 +61,4 @@ spec = do
6161 get "/static/foo.txt" `shouldRespondWith` "bar"
6262
6363 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"