fix: restore OpenCode health compatibility for startup (#1542)

This commit is contained in:
Bohdan Triapitsyn
2026-06-05 18:43:13 +03:00
parent 0f6602aabd
commit 3e0a105dfe
5 changed files with 9 additions and 8 deletions
@@ -33,7 +33,7 @@ export const createOpenCodeNetworkRuntime = (deps) => {
try {
const controller = new AbortController();
timeout = setTimeout(() => controller.abort(), 3000);
const response = await fetch(`${url.replace(/\/+$/, '')}/api/health`, {
const response = await fetch(`${url.replace(/\/+$/, '')}/global/health`, {
method: 'GET',
headers: {
Accept: 'application/json',