Skip to content

Commit 3bf438d

Browse files
committed
bugfix(server): update health check for mac arm
1 parent 7ebd1fc commit 3bf438d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/common/server/index.ts

+3-6
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,9 @@ class Server {
233233
const osplatform = os.platform();
234234
const osmachine = os.machine();
235235
const isMacArm64 = osplatform === "darwin" && osmachine === "arm64";
236-
const res = await fetch(
237-
`${this.serverUrl}/${isMacArm64 ? "model.json" : "health"}`,
238-
{
239-
method: "GET",
240-
}
241-
);
236+
const res = await fetch(`${this.serverUrl}/${"health"}`, {
237+
method: "GET",
238+
});
242239
if (res.ok) {
243240
if (isMacArm64) {
244241
this.status = "started";

0 commit comments

Comments
 (0)