diff --git a/src/Foundation.hs b/src/Foundation.hs index a2af8b7ec..5dccd356d 100644 --- a/src/Foundation.hs +++ b/src/Foundation.hs @@ -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: