added health endpoint to check pre prod container startup issues Related work items: #22624
10 lines
255 B
JavaScript
10 lines
255 B
JavaScript
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()
|
|
});
|
|
}
|