diff --git a/__init__.py b/__init__.py index c5d4be5..7047787 100644 --- a/__init__.py +++ b/__init__.py @@ -40,6 +40,6 @@ async def register(indexer, client: TelegramClient): await runner.setup() site = web.TCPSite( runner, - '127.0.0.1', port, + indexer.config['web']['listen_host'], port, ) await site.start()