mirror of
https://github.com/jetkvm/cloud-api.git
synced 2025-09-16 08:38:15 +00:00
Added health check endpoint
This commit is contained in:
parent
c0f36d5a72
commit
ec85bd7758
@ -91,6 +91,13 @@ app.get("/", (req, res) => {
|
||||
return res.status(200).send("OK");
|
||||
});
|
||||
|
||||
app.get("/healthz", (req, res) => {
|
||||
return res.status(200).send({
|
||||
ready: true,
|
||||
time: new Date()
|
||||
})
|
||||
});
|
||||
|
||||
app.get(
|
||||
"/me",
|
||||
asyncAuthGuard,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user