From f6d616d9fb70267d57047f345e7cccf811fd610c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 29 May 2023 20:26:06 +0800 Subject: [PATCH] bugfix --- ahserver/configuredServer.py | 3 +++ 1 file changed, 3 insertions(+) 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)