From d01441d8f5a13909e1092a7d2285e4882fa43270 Mon Sep 17 00:00:00 2001 From: LightZirconite Date: Fri, 2 Jan 2026 15:57:44 +0100 Subject: [PATCH] feat: Add health check endpoint --- api/health.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 api/health.js diff --git a/api/health.js b/api/health.js new file mode 100644 index 0000000..7466d64 --- /dev/null +++ b/api/health.js @@ -0,0 +1,10 @@ +// Health check endpoint for Vercel +module.exports = function handler(req, res) { + res.json({ + status: 'ok', + timestamp: new Date().toISOString(), + endpoints: { + reportError: '/api/report-error' + } + }) +}