Glossary: Next.js Beyond the Basics
Health check
Also written: /api/health, HEALTHCHECK
A small endpoint (here /api/health) that monitoring tools call to ask "are you alive?". It answers {"ok":true}, or a 500 error if the database can't be opened.
Glossary: Next.js Beyond the Basics
Also written: /api/health, HEALTHCHECK
A small endpoint (here /api/health) that monitoring tools call to ask "are you alive?". It answers {"ok":true}, or a 500 error if the database can't be opened.