feat: delete host config

This commit is contained in:
wangcham
2025-09-12 05:53:31 +00:00
committed by WangCham
parent 72ec4b77d6
commit 2c6f127f47
2 changed files with 1 additions and 11 deletions

View File

@@ -140,7 +140,7 @@ class WecomBotAdapter(adapter.MessagePlatformAdapter):
await asyncio.sleep(1)
await self.bot.run_task(
host=self.config['host'],
host='0.0.0.0',
port=self.config['port'],
shutdown_trigger=shutdown_trigger_placeholder,
)

View File

@@ -11,16 +11,6 @@ metadata:
icon: wecombot.png
spec:
config:
- name: host
label:
en_US: Host
zh_Hans: 监听主机
description:
en_US: Webhook host, unless you know what you're doing, please write 0.0.0.0
zh_Hans: Webhook 监听主机,除非你知道自己在做什么,否则请写 0.0.0.0
type: string
required: true
default: "0.0.0.0"
- name: port
label:
en_US: Port