Merge pull request #17 from haskell-servant/fix_1
cabal: added lower bound for wai-app-static
This commit is contained in:
commit
350e05e035
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ library
|
|||
, text
|
||||
, transformers
|
||||
, wai
|
||||
, wai-app-static
|
||||
, wai-app-static >= 3.0.0.6
|
||||
, warp
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
|
|
|
@ -61,4 +61,4 @@ spec = do
|
|||
get "/static/foo.txt" `shouldRespondWith` "bar"
|
||||
|
||||
it "serves the contents of index.html when requesting the root of a directory" $ do
|
||||
get "/static" `shouldRespondWith` "index"
|
||||
get "/static/" `shouldRespondWith` "index"
|
||||
|
|
Loading…
Reference in a new issue