a8926764 commited on
Commit
948dcbc
·
verified ·
1 Parent(s): fe43c56

Update start-openclaw.sh

Browse files
Files changed (1) hide show
  1. start-openclaw.sh +2 -5
start-openclaw.sh CHANGED
@@ -186,6 +186,8 @@ configure_feishu() {
186
  log "重要提示:请在飞书开放平台确保事件订阅方式为【长连接】,并已发布最新版本"
187
  log "首次使用需在飞书私聊机器人获取配对码,并执行: openclaw pairing approve feishu <配对码>"
188
 
 
 
189
  # 🔴【关键修复】立即重启网关使配置生效
190
  #log "正在重启网关以应用飞书配置..."
191
  #openclaw gateway restart
@@ -286,11 +288,6 @@ main() {
286
  # 启动 OpenClaw 网关服务(exec会替换当前进程)
287
  start_openclaw
288
 
289
- # 临时执行命令
290
- # openclaw config set gateway.controlUi.allowedOrigins '["https://a8926764-openclaw.hf.space"]' --json
291
- openclaw pairing approve feishu KE949SST
292
-
293
-
294
  }
295
 
296
  # 捕获信号,确保优雅退出
 
186
  log "重要提示:请在飞书开放平台确保事件订阅方式为【长连接】,并已发布最新版本"
187
  log "首次使用需在飞书私聊机器人获取配对码,并执行: openclaw pairing approve feishu <配对码>"
188
 
189
+ openclaw pairing approve feishu KE949SST
190
+
191
  # 🔴【关键修复】立即重启网关使配置生效
192
  #log "正在重启网关以应用飞书配置..."
193
  #openclaw gateway restart
 
288
  # 启动 OpenClaw 网关服务(exec会替换当前进程)
289
  start_openclaw
290
 
 
 
 
 
 
291
  }
292
 
293
  # 捕获信号,确保优雅退出