Listen on 0.0.0.0
This commit is contained in:
parent
fa313ac811
commit
599eb29c4c
|
@ -83,7 +83,7 @@ async def main():
|
|||
await client.start(bot_token=config['telegram'].get('bot_token'))
|
||||
runner = web.AppRunner(app)
|
||||
await runner.setup()
|
||||
site = web.TCPSite(runner, '127.0.0.1', port)
|
||||
site = web.TCPSite(runner, '0.0.0.0', port)
|
||||
await site.start()
|
||||
await client.run_until_disconnected()
|
||||
|
||||
|
|
Loading…
Reference in New Issue