Merged PR 2247: added health endpoint to check pre prod container startup issues
added health endpoint to check pre prod container startup issues Related work items: #22624
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export default function handler(req, res) {
|
||||
if (req.method !== "GET") {
|
||||
return res.status(405).json({ error: "Method not allowed" });
|
||||
}
|
||||
res.status(200).json({
|
||||
status: "UP",
|
||||
timestamp: new Date().toISOString()
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user