Listen on 0.0.0.0

This commit is contained in:
blank X 2021-01-16 11:07:37 +07:00
parent fa313ac811
commit 599eb29c4c
1 changed files with 1 additions and 1 deletions

View File

@ -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()