diff --git a/Foundation.hs b/Foundation.hs index 2cc8555..dd23d2b 100644 --- a/Foundation.hs +++ b/Foundation.hs @@ -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 diff --git a/config/keter.yaml b/config/keter.yaml index 1e9838c..96ab074 100644 --- a/config/keter.yaml +++ b/config/keter.yaml @@ -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 diff --git a/templates/default-layout-wrapper.hamlet b/templates/default-layout-wrapper.hamlet index c07264a..56ef6fb 100644 --- a/templates/default-layout-wrapper.hamlet +++ b/templates/default-layout-wrapper.hamlet @@ -11,7 +11,7 @@ $newline never #{pageTitle pc} $if notHome - :: Stackage Server + \ :: Stackage Server <meta name="description" content=""> <meta name="author" content="">