fix: improve startup readiness performance
This commit is contained in:
@@ -33,7 +33,7 @@ export const createOpenCodeNetworkRuntime = (deps) => {
|
||||
try {
|
||||
const controller = new AbortController();
|
||||
timeout = setTimeout(() => controller.abort(), 3000);
|
||||
const response = await fetch(`${url.replace(/\/+$/, '')}/global/health`, {
|
||||
const response = await fetch(`${url.replace(/\/+$/, '')}/api/health`, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user