diff --git a/ahserver/configuredServer.py b/ahserver/configuredServer.py index 85f5655..1039478 100755 --- a/ahserver/configuredServer.py +++ b/ahserver/configuredServer.py @@ -30,6 +30,9 @@ class ConfiguredServer(AppLogger): initEnv() setupTemplateEngine() client_max_size = 1024 * 10240 + if config.website.client_max_size: + client_max_size = config.website.client_max_size + self.app = web.Application(client_max_size=client_max_size) auth = auth_klass() auth.setupAuth(self.app)