mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-08-06 17:02:48 +02:00
Merge pull request #20 from PSandro/master
config: fix server->bind when more than 1 char
This commit is contained in:
+1
-1
@@ -1410,7 +1410,7 @@ async def run_server():
|
||||
ssl_context.load_cert_chain(CONFIG["server"]["tls_cert"])
|
||||
else:
|
||||
ssl_context = None
|
||||
for host in CONFIG["server"]["bind"]:
|
||||
if host := CONFIG["server"]["bind"]:
|
||||
site = web.TCPSite(runner, host, CONFIG["server"]["port"], ssl_context=ssl_context)
|
||||
await site.start()
|
||||
while True:
|
||||
|
||||
Reference in New Issue
Block a user