fix(chrome-extension): finalize relay endpoint validation flow (#22252) (thanks @krizpoon)

This commit is contained in:
Peter Steinberger
2026-02-24 04:14:43 +00:00
parent b7949d317f
commit 1237516ae8
2 changed files with 1 additions and 13 deletions

View File

@@ -87,19 +87,6 @@ async function checkRelayReachable(port, token) {
`Relay not reachable/authenticated at http://127.0.0.1:${port}/. Start OpenClaw browser relay and verify token.`,
)
}
} catch (err) {
const message = String(err || '').toLowerCase()
if (message.includes('json') || message.includes('syntax')) {
setStatus(
'error',
'Wrong port: this is not a relay endpoint. Use gateway port + 3 (for gateway 18789, relay is 18792).',
)
} else {
setStatus(
'error',
`Relay not reachable/authenticated at http://127.0.0.1:${port}/. Start OpenClaw browser relay and verify token.`,
)
}
}
}