-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(status): custom status codes (#190)
* feat(status): custom status codes * revert(binary) revert lockfile change * 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 Co-authored-by: rxmarbles <[email protected]> Co-authored-by: Matanel Sindilevich <[email protected]>
- Loading branch information
1 parent
04191cc
commit ee94766
Showing
4 changed files
with
127 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters