Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(status): custom status codes #190

Merged
merged 3 commits into from
Jun 4, 2021
Merged

feat(status): custom status codes #190

merged 3 commits into from
Jun 4, 2021

Commits on Jun 2, 2021

  1. Configuration menu
    Copy the full SHA
    522df64 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2021

  1. Configuration menu
    Copy the full SHA
    dea0a88 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

  1. Custom status (#191)

    * Revert "feat(status): custom status codes"
    
    This reverts commit 522df64.
    
    * Added statusOk and statusError to configuration
    
    The new configuration properties: statusOk and statusError will allow to globally configure the HTTP codes, used to respond with on a successful or an unsuccessful healthcheck respectively.
    An unsuccessful healthcheck may override the global statusError property by setting the statusCode property on the Error object.
    
    * Added typings for statusOk and statusError
    sindilevich committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    47608c6 View commit details
    Browse the repository at this point in the history