Skip to content

Commit

Permalink
add /healthz route
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Apr 26, 2024
1 parent d76bf74 commit 4a49787
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gnocpush/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ def push_endpoint():
return {'status': 'success'}


@app.route('/healthz', methods=['GET'])
def healthz():
return {'status': 'ok'}


def main():
config = {}

Expand Down

0 comments on commit 4a49787

Please sign in to comment.