Increase maximum file upload size

This commit is contained in:
Gregor Kleen 2018-07-03 19:10:54 +02:00
parent 745e4bd408
commit 5611ae7ca2

View File

@ -400,6 +400,8 @@ instance Yesod UniWorX where
120 -- timeout in minutes
"client_session_key.aes"
maximumContentLength _ _ = Just $ 50 * 2^20
-- Yesod Middleware allows you to run code before and after each handler function.
-- The defaultYesodMiddleware adds the response header "Vary: Accept, Accept-Language" and performs authorization checks.
-- Some users may also want to add the defaultCsrfMiddleware, which: