Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: rename healthcheck endpoints to health

Brad Barbinbdbf43ff3aae
diff --git a/apps/academy/app/routes/_auth+/healthcheck.tsx b/apps/academy/app/routes/_auth+/health.tsx
similarity index 89%
rename from apps/academy/app/routes/_auth+/healthcheck.tsx
rename to apps/academy/app/routes/_auth+/health.tsx
index a1f534da90..66971aee0d 100644
--- a/apps/academy/app/routes/_auth+/healthcheck.tsx
+++ b/apps/academy/app/routes/_auth+/health.tsx
@@ -8,7 +8,7 @@ export async function loader() {
return new Response("OK");
} catch (error: unknown) {
// eslint-disable-next-line no-console
- console.log("healthcheck ❌", { error });
+ console.log("health ❌", { error });
return new Response("ERROR", { status: 500 });
}
}
diff --git a/apps/academy/app/utils/path.ts b/apps/academy/app/utils/path.ts
index c55e35e6d2..fe449c3685 100644
--- a/apps/academy/app/utils/path.ts
+++ b/apps/academy/app/utils/path.ts
@@ -18,7 +18,7 @@ export const path = {
course: (moduleId: string, courseId: string) =>
generatePath(`${course}/${moduleId}/${courseId}`),
dashboard: `${ERP_URL}/x`,
- healthcheck: "/healthcheck",
+ health: "/health",
login: "/login",
logout: "/logout",
refreshSession: "/refresh-session",
diff --git a/apps/erp/app/routes/_public+/healthcheck.tsx b/apps/erp/app/routes/_public+/health.tsx
similarity index 89%
rename from apps/erp/app/routes/_public+/healthcheck.tsx
rename to apps/erp/app/routes/_public+/health.tsx
index a1f534da90..66971aee0d 100644
--- a/apps/erp/app/routes/_public+/healthcheck.tsx
+++ b/apps/erp/app/routes/_public+/health.tsx
@@ -8,7 +8,7 @@ export async function loader() {
return new Response("OK");
} catch (error: unknown) {
// eslint-disable-next-line no-console
- console.log("healthcheck ❌", { error });
+ console.log("health ❌", { error });
return new Response("ERROR", { status: 500 });
}
}
diff --git a/apps/mes/app/routes/_public+/healthcheck.tsx b/apps/mes/app/routes/_public+/health.tsx
similarity index 89%
rename from apps/mes/app/routes/_public+/healthcheck.tsx
rename to apps/mes/app/routes/_public+/health.tsx
index a1f534da90..66971aee0d 100644
--- a/apps/mes/app/routes/_public+/healthcheck.tsx
+++ b/apps/mes/app/routes/_public+/health.tsx
@@ -8,7 +8,7 @@ export async function loader() {
return new Response("OK");
} catch (error: unknown) {
// eslint-disable-next-line no-console
- console.log("healthcheck ❌", { error });
+ console.log("health ❌", { error });
return new Response("ERROR", { status: 500 });
}
}
diff --git a/apps/mes/app/utils/path.ts b/apps/mes/app/utils/path.ts
index 1357c1d0d0..3c871c31f5 100644
--- a/apps/mes/app/utils/path.ts
+++ b/apps/mes/app/utils/path.ts
@@ -69,7 +69,7 @@ export const path = {
feedback: `${x}/feedback`,
finish: `${x}/finish`,
- healthcheck: "/healthcheck",
+ health: "/health",
inventoryAdjustment: `${x}/adjustment`,
issue: `${x}/issue`,
issueTrackedEntity: `${x}/issue-tracked-entity`,
diff --git a/apps/starter/app/routes/_public+/healthcheck.tsx b/apps/starter/app/routes/_public+/health.tsx
similarity index 89%
rename from apps/starter/app/routes/_public+/healthcheck.tsx
rename to apps/starter/app/routes/_public+/health.tsx
index a1f534da90..66971aee0d 100644
--- a/apps/starter/app/routes/_public+/healthcheck.tsx
+++ b/apps/starter/app/routes/_public+/health.tsx
@@ -8,7 +8,7 @@ export async function loader() {
return new Response("OK");
} catch (error: unknown) {
// eslint-disable-next-line no-console
- console.log("healthcheck ❌", { error });
+ console.log("health ❌", { error });
return new Response("ERROR", { status: 500 });
}
}
diff --git a/apps/starter/app/utils/path.ts b/apps/starter/app/utils/path.ts
index f24bda4b3b..729043b222 100644
--- a/apps/starter/app/utils/path.ts
+++ b/apps/starter/app/utils/path.ts
@@ -14,7 +14,7 @@ export const path = {
generatePath(`${x}/company/switch/${companyId}`),
dashboard: `${ERP_URL}/x`,
- healthcheck: "/healthcheck",
+ health: "/health",
login: "/login",
logout: "/logout",
onboarding: `${ERP_URL}/onboarding`,