bugfix
This commit is contained in:
parent
48a8a33fab
commit
1f1dc764d4
@ -30,6 +30,7 @@ class ConfiguredServer(AppLogger):
|
|||||||
config = getConfig()
|
config = getConfig()
|
||||||
if config.databases:
|
if config.databases:
|
||||||
DBPools(config.databases)
|
DBPools(config.databases)
|
||||||
|
self.config = config
|
||||||
initEnv()
|
initEnv()
|
||||||
setupTemplateEngine()
|
setupTemplateEngine()
|
||||||
client_max_size = 1024 * 10240
|
client_max_size = 1024 * 10240
|
||||||
@ -41,10 +42,10 @@ class ConfiguredServer(AppLogger):
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
auth = self.auth_klass()
|
auth = self.auth_klass()
|
||||||
await auth.setupAuth(self.app)
|
auth.setupAuth(self.app)
|
||||||
|
config = getConfig()
|
||||||
self.configPath(config)
|
self.configPath(config)
|
||||||
a = TmpFileRecord()
|
a = TmpFileRecord()
|
||||||
config = getConfig()
|
|
||||||
ssl_context = None
|
ssl_context = None
|
||||||
if config.website.ssl:
|
if config.website.ssl:
|
||||||
ssl_context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
|
ssl_context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
|
||||||
|
Loading…
Reference in New Issue
Block a user