mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-22 04:16:07 +00:00
feat: delete host config
This commit is contained in:
@@ -140,7 +140,7 @@ class WecomBotAdapter(adapter.MessagePlatformAdapter):
|
|||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
|
|
||||||
await self.bot.run_task(
|
await self.bot.run_task(
|
||||||
host=self.config['host'],
|
host='0.0.0.0',
|
||||||
port=self.config['port'],
|
port=self.config['port'],
|
||||||
shutdown_trigger=shutdown_trigger_placeholder,
|
shutdown_trigger=shutdown_trigger_placeholder,
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -11,16 +11,6 @@ metadata:
|
|||||||
icon: wecombot.png
|
icon: wecombot.png
|
||||||
spec:
|
spec:
|
||||||
config:
|
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
|
- name: port
|
||||||
label:
|
label:
|
||||||
en_US: Port
|
en_US: Port
|
||||||
|
|||||||
Reference in New Issue
Block a user