allow multiple binds

This commit is contained in:
2024-04-12 12:44:30 +02:00
parent a999024ddf
commit f34cd88de1
2 changed files with 4 additions and 3 deletions

View File

@ -90,7 +90,7 @@ def main():
asyncio.run(serve(
api,
Config().from_mapping(
bind=[f"{CONFIG['host']}:{CONFIG['port']}"],
bind=CONFIG['binds'],
accesslog='-'
)
))