perf: gewechat 服务端回调接口默认暴露在所有地址

This commit is contained in:
Soulter
2025-02-03 18:38:40 +08:00
parent 3b2ac891b2
commit c02ed96f6f
@@ -194,7 +194,7 @@ class SimpleGewechatClient():
async def start_polling(self):
threading.Thread(target=asyncio.run, args=(self._set_callback_url(),)).start()
await self.server.run_task(
host=self.host,
host='0.0.0.0',
port=self.port,
shutdown_trigger=self.shutdown_trigger_placeholder
)