feat: Add health check endpoint

This commit is contained in:
2026-01-02 15:57:44 +01:00
parent 1bc6cd0fe7
commit d01441d8f5

10
api/health.js Normal file
View File

@@ -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'
}
})
}