From 506e9672f3882705c953414a5c3095bbb57b8ec9 Mon Sep 17 00:00:00 2001 From: omg-xtao <100690902+omg-xtao@users.noreply.github.com> Date: Wed, 14 Feb 2024 14:16:13 +0000 Subject: [PATCH] fix: listen host --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()