添加配置支持机器人和频道应用不校验host

This commit is contained in:
heavyrian2012
2026-05-18 20:22:31 +08:00
parent af85b08f94
commit fd0ee5c674
4 changed files with 28 additions and 8 deletions
@@ -177,6 +177,9 @@ robot.mention_external_robot true
## 比如允许获取name和email就是5(1+4),允许获取name和mobile和company和type就是531(1+2+16+512),允许全部是1023(1+2+...+512)
#robot.get_user_info_mask 1023
## 机器人应用authToken允许任意host。当为false时,机器人Web应用的host必须和机器人的callback host一致,这样能够增加安全性。
#robot.application_allow_any_host true
## 频道回调信息是否带上用户clientId和平台类型。
channel.callback_with_client_info false
@@ -190,6 +193,9 @@ channel.callback_with_target_info false
## 旧的方式是,automatic为0时,订阅者的消息发给owner,不转发消息到callback地址。为1时,把订阅者的消息转发给callback地址,不发给owner。
channel.new_callback_feature true
## 频道应用authToken允许任意host。当为false时,频道Web应用的host必须和频道的callback host一致,这样能够增加安全性。
#channel.application_allow_any_host true
##禁止搜索用户
friend.disable_search false