Skip to content

Commit

Permalink
Make ‘wai-api-static-build-with-bazel’ build with Bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkkrp committed Jun 4, 2018
1 parent 0678ddd commit aaa0dca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions wai-app-static/Network/Wai/Application/Static.hs
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ staticAppPieces _ _ req sendResponse
H.status405
[("Content-Type", "text/plain")]
"Only GET or HEAD is supported"
staticAppPieces _ [".hidden", "folder.png"] _ sendResponse = sendResponse $ W.responseLBS H.status200 [("Content-Type", "image/png")] $ L.fromChunks [$(embedFile "images/folder.png")]
staticAppPieces _ [".hidden", "haskell.png"] _ sendResponse = sendResponse $ W.responseLBS H.status200 [("Content-Type", "image/png")] $ L.fromChunks [$(embedFile "images/haskell.png")]
staticAppPieces _ [".hidden", "folder.png"] _ sendResponse = sendResponse $ W.responseLBS H.status200 [("Content-Type", "image/png")] $ L.fromChunks [$(embedFile "external/haskell_wai_app_static/images/folder.png")]
staticAppPieces _ [".hidden", "haskell.png"] _ sendResponse = sendResponse $ W.responseLBS H.status200 [("Content-Type", "image/png")] $ L.fromChunks [$(embedFile "external/haskell_wai_app_static/images/haskell.png")]
staticAppPieces ss rawPieces req sendResponse = liftIO $ do
case toPieces rawPieces of
Just pieces -> checkPieces ss pieces req >>= response
Expand Down
1 change: 0 additions & 1 deletion wai-app-static/קרררר.html

This file was deleted.

0 comments on commit aaa0dca

Please sign in to comment.