Increase maximum file upload size
This commit is contained in:
parent
745e4bd408
commit
5611ae7ca2
@ -400,6 +400,8 @@ instance Yesod UniWorX where
|
|||||||
120 -- timeout in minutes
|
120 -- timeout in minutes
|
||||||
"client_session_key.aes"
|
"client_session_key.aes"
|
||||||
|
|
||||||
|
maximumContentLength _ _ = Just $ 50 * 2^20
|
||||||
|
|
||||||
-- Yesod Middleware allows you to run code before and after each handler function.
|
-- 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.
|
-- The defaultYesodMiddleware adds the response header "Vary: Accept, Accept-Language" and performs authorization checks.
|
||||||
-- Some users may also want to add the defaultCsrfMiddleware, which:
|
-- Some users may also want to add the defaultCsrfMiddleware, which:
|
||||||
|
|||||||
Reference in New Issue
Block a user