mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-09 01:27:29 +01:00
Update maximumContentLength
This commit is contained in:
parent
91f9f94fd2
commit
ec09018717
@ -123,6 +123,9 @@ instance Yesod App where
|
|||||||
|
|
||||||
makeLogger = return . appLogger
|
makeLogger = return . appLogger
|
||||||
|
|
||||||
|
maximumContentLength _ (Just UploadStackageR) = Just 50000000
|
||||||
|
maximumContentLength _ _ = Just 2000000
|
||||||
|
|
||||||
-- How to run database actions.
|
-- How to run database actions.
|
||||||
instance YesodPersist App where
|
instance YesodPersist App where
|
||||||
type YesodPersistBackend App = SqlPersistT
|
type YesodPersistBackend App = SqlPersistT
|
||||||
|
|||||||
@ -11,4 +11,4 @@ postgres: true
|
|||||||
|
|
||||||
# Use the following to automatically copy your bundle upon creation via `yesod
|
# Use the following to automatically copy your bundle upon creation via `yesod
|
||||||
# keter`. Uses `scp` internally, so you can set it to a remote destination
|
# keter`. Uses `scp` internally, so you can set it to a remote destination
|
||||||
copy-to: ubuntu@packdeps.haskellers.com:/opt/keter/incoming
|
copy-to: ubuntu@www.stackage.org:/opt/keter/incoming
|
||||||
|
|||||||
@ -11,7 +11,7 @@ $newline never
|
|||||||
<title>
|
<title>
|
||||||
#{pageTitle pc}
|
#{pageTitle pc}
|
||||||
$if notHome
|
$if notHome
|
||||||
:: Stackage Server
|
\ :: Stackage Server
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user