Exposing toWaiAppPlain
This commit is contained in:
parent
0c946de756
commit
3a5969b8e8
@ -225,7 +225,7 @@ simpleContentType :: String -> String
|
||||
simpleContentType = fst . span (/= ';')
|
||||
|
||||
-- | A default extension to mime-type dictionary.
|
||||
typeByExt :: [(String, ContentType)]
|
||||
typeByExt :: [(String, ContentType)] -- FIXME move to yesod-static
|
||||
typeByExt =
|
||||
[ ("jpg", typeJpeg)
|
||||
, ("jpeg", typeJpeg)
|
||||
|
||||
@ -19,6 +19,7 @@ module Yesod.Dispatch
|
||||
, Strings
|
||||
-- * Convert to WAI
|
||||
, toWaiApp
|
||||
, toWaiAppPlain
|
||||
#if TEST
|
||||
, dispatchTestSuite
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user