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:
Robert Bond
2026-04-15 09:52:15 +00:00
parent 15c35d201e
commit bb4c3ee054
3 changed files with 13 additions and 6 deletions
+9
View File
@@ -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()
});
}