fix: listen host

This commit is contained in:
omg-xtao 2024-02-14 14:16:13 +00:00 committed by GitHub
parent ae175f4d72
commit 506e9672f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,6 +40,6 @@ async def register(indexer, client: TelegramClient):
await runner.setup() await runner.setup()
site = web.TCPSite( site = web.TCPSite(
runner, runner,
'127.0.0.1', port, indexer.config['web']['listen_host'], port,
) )
await site.start() await site.start()