This commit is contained in:
yumoqing 2023-05-29 20:35:23 +08:00
parent f6d616d9fb
commit 145d9efb85

View File

@ -32,7 +32,8 @@ class ConfiguredServer(AppLogger):
client_max_size = 1024 * 10240 client_max_size = 1024 * 10240
if config.website.client_max_size: if config.website.client_max_size:
client_max_size = config.website.client_max_size client_max_size = config.website.client_max_size
print(f'{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)