mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08: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
|
||||
|
||||
maximumContentLength _ (Just UploadStackageR) = Just 50000000
|
||||
maximumContentLength _ _ = Just 2000000
|
||||
|
||||
-- How to run database actions.
|
||||
instance YesodPersist App where
|
||||
type YesodPersistBackend App = SqlPersistT
|
||||
|
||||
@ -11,4 +11,4 @@ postgres: true
|
||||
|
||||
# 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
|
||||
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>
|
||||
#{pageTitle pc}
|
||||
$if notHome
|
||||
:: Stackage Server
|
||||
\ :: Stackage Server
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user