[fix][log] active domains list logging

This commit is contained in:
Maxime Alves LIRMM@home 2022-01-21 14:38:28 +01:00
parent df555c7d26
commit 979007f287

View File

@ -67,9 +67,9 @@ class HalfAPI(Starlette):
logger.info('Config: %s', self.config)
logger.info('Active domains: %s',
filter(
list(filter(
lambda n: n.get('enabled', False),
self.config.get('domain', {})))
self.config.get('domain', {}).values())))
if d_routes:
# Mount the routes from the d_routes argument - domain-less mode