Documentation / @zerotal/core / health / HealthConfigShape
Interface: HealthConfigShape
Defined in: health/Health.ts:150
The health config, authored under the health key of config/app.ts.
Properties
enabled?
optionalenabled?:boolean
Defined in: health/Health.ts:152
Serve the endpoint. Default: on outside production, off in production.
path?
optionalpath?:string
Defined in: health/Health.ts:154
Route path. Default: /health.
secret?
optionalsecret?:string
Defined in: health/Health.ts:156
Shared secret. Required in production; supplied via ?key= or X-Health-Key.
showDetails?
optionalshowDetails?:boolean
Defined in: health/Health.ts:158
Include per-check details. Set false for a bare { status } body. Default: true.