This commit is contained in:
yumoqing 2023-05-29 20:26:06 +08:00
parent f7016cd8f1
commit f6d616d9fb

View File

@ -30,6 +30,9 @@ class ConfiguredServer(AppLogger):
initEnv() initEnv()
setupTemplateEngine() setupTemplateEngine()
client_max_size = 1024 * 10240 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) self.app = web.Application(client_max_size=client_max_size)
auth = auth_klass() auth = auth_klass()
auth.setupAuth(self.app) auth.setupAuth(self.app)