changed maximum upload size
This commit is contained in:
parent
99398c1ecf
commit
eb22685597
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ type Form x = Html -> MForm (HandlerT App IO) (FormResult x, Widget)
|
||||||
instance Yesod App where
|
instance Yesod App where
|
||||||
approot = ApprootMaster $ appRoot . settings
|
approot = ApprootMaster $ appRoot . settings
|
||||||
|
|
||||||
|
-- change maximum content length
|
||||||
|
maximumContentLength _ _ = Just $ 1024 ^ 5
|
||||||
|
|
||||||
-- Store session data on the client in encrypted cookies,
|
-- Store session data on the client in encrypted cookies,
|
||||||
-- default session idle timeout is 120 minutes
|
-- default session idle timeout is 120 minutes
|
||||||
makeSessionBackend _ = fmap Just $ defaultClientSessionBackend
|
makeSessionBackend _ = fmap Just $ defaultClientSessionBackend
|
||||||
|
|
Loading…
Reference in a new issue