You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge torrust#1416: Feature: Add listen_url field to the health check API
abfb733 feat: [torrust#1409] add listen_url field to the health check API (Jose Celano)
Pull request description:
Added an extra `listen_url` field to th health check API endpoint:
http://127.0.0.1:1313/health_check
```json
{
"status": "Ok",
"message": "",
"details": [
{
"listen_url": "http://0.0.0.0:7070/",
"binding": "0.0.0.0:7070",
"service_type": "http_tracker",
"info": "checking http tracker health check at: http://0.0.0.0:7070/health_check",
"result": {
"Ok": "200 OK"
}
}
]
}
```
It includes the protocol + binding address.
The `binding` is not removed for back compatibility.
**NOTICE:** HTTP URLs contain the trailing slash `"listen_url": "http://0.0.0.0:1212/"` because it's the default behavior.
ACKs for top commit:
josecelano:
ACK abfb733
Tree-SHA512: 4a063580890add1a06d99d4e41717b01577423a68ac4b492c394b352575b4ed30f93d99c35b9654ac8ba28bd117a8405b6e7dfe1fa5a98e0d93b71c8afea95e9
0 commit comments