Add minimal health check API
This commit is contained in:
parent
b5e547df7b
commit
b4e011e8fa
1 changed files with 9 additions and 0 deletions
9
pages/api/health.js
Normal file
9
pages/api/health.js
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
export default function handler(req, res) {
|
||||||
|
// Minimal health check - no external dependencies
|
||||||
|
res.status(200).json({
|
||||||
|
status: 'ok',
|
||||||
|
timestamp: new Date().toISOString(),
|
||||||
|
method: req.method,
|
||||||
|
url: req.url
|
||||||
|
});
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue