mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2024-12-02 07:03:25 +01:00
15 lines
289 B
Markdown
15 lines
289 B
Markdown
|
## 🩺 Health Check
|
||
|
|
||
|
A health check endpoint exists on `/healthcheck`. If healthy, it will return with a `200` and the following response:
|
||
|
|
||
|
```json
|
||
|
{
|
||
|
"status": "ok"
|
||
|
}
|
||
|
```
|
||
|
|
||
|
To skip express from logging these calls, add the environment variable:
|
||
|
|
||
|
```bash
|
||
|
SKIP_HEALTH_CHECK_LOGS=true
|
||
|
```
|