fix(api): add GET / root healthcheck endpoint for Coolify

This commit is contained in:
AyrisAI
2026-08-20 02:31:04 +03:00
parent 1379642832
commit 856347cabd
+1
View File
@@ -31,6 +31,7 @@ app.addContentTypeParser("application/json", { parseAs: "string" }, (_req, body,
} }
}); });
app.get("/", async () => ({ name: "menul.io API", status: "ok", version: "0.0.1" }));
app.get("/health", async () => ({ status: "ok" })); app.get("/health", async () => ({ status: "ok" }));
await app.register(meRoutes); await app.register(meRoutes);