mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-09 00:56:16 +00:00
feat: Add health check endpoint
This commit is contained in:
10
api/health.js
Normal file
10
api/health.js
Normal 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'
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user