hedgedoc/lib
Erik Michelson 9949e3a875 feat(healthcheck): add /_health endpoint
This endpoint returns the internal readiness state used by
the realtime code to indicate whether HedgeDoc is performing
properly. As it only returns the state of a variable, it is
less resource hungry compared to a call to /status for
checking the health of HedgeDoc.

By prepending the route with an underscore, it should not be conflicting with already created pads in FreeURL mode.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-19 22:09:16 +01:00
..
config
migrations
models
ot
web
workers
csp.js
errors.js
history.js
letter-avatars.js
logger.js
prometheus.js
realtime.js
response.js
utils.js Exclude /metrics and /status routes from session initialization 2021-07-20 23:56:54 +02:00