parent
9ef336b50f
commit
1148e21377
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