fix(api): add GET / root healthcheck endpoint for Coolify
This commit is contained in:
@@ -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" }));
|
||||
|
||||
await app.register(meRoutes);
|
||||
|
||||
Reference in New Issue
Block a user