更新 openclaw URL 生成逻辑,修复 token 参数格式;升级依赖版本

This commit is contained in:
2026-03-14 00:07:09 +08:00
parent 700e86a4d2
commit a2702915d5
3 changed files with 39 additions and 41 deletions

View File

@@ -10,7 +10,7 @@ export const getLiveMdContent = (opts?: { more?: boolean }) => {
const token = useKey('CNB_TOKEN') || ''
const openclawPort = useKey('OPENCLAW_PORT') || '80'
const openclawUrl = url.replace('{{port}}', openclawPort)
const openclawUrlSecret = openclawUrl + '/openclaw?token=' + token
const openclawUrlSecret = openclawUrl + '/openclaw#token=' + token
const opencodePort = useKey('OPENCODE_PORT') || '100'
const opencodeUrl = url.replace('{{port}}', opencodePort)