This commit is contained in:
yumoqing 2023-05-29 15:35:03 +08:00
parent 75c75632ad
commit f7016cd8f1

View File

@ -29,7 +29,8 @@ class ConfiguredServer(AppLogger):
DBPools(config.databases) DBPools(config.databases)
initEnv() initEnv()
setupTemplateEngine() setupTemplateEngine()
self.app = web.Application() client_max_size = 1024 * 10240
self.app = web.Application(client_max_size=client_max_size)
auth = auth_klass() auth = auth_klass()
auth.setupAuth(self.app) auth.setupAuth(self.app)
self.configPath(config) self.configPath(config)