mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-26 23:50:00 -07:00
(tested) add hooks check when ping http route called
This commit is contained in:
2
dist/example_config.yaml
vendored
2
dist/example_config.yaml
vendored
@@ -66,6 +66,8 @@ mochi:
|
||||
# An array of routes to listen ping requests.
|
||||
# Used just to ensure if server is operational. Returns nothing,
|
||||
# just HTTP 200 without body. Listens both GET and HEAD HTTP methods.
|
||||
# HEAD method just checks http server, GET checks all hooks,
|
||||
# which support ping
|
||||
ping_routes:
|
||||
- "/ping"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user