Skip to content

Commit

Permalink
add healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
coutug committed Oct 4, 2024
1 parent 5ef9a15 commit 6f9a320
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ def fetch_whitelist():
except Exception as e:
logging.error(f'Error fetching whitelist: {e}')

@app.route('/health', methods=['GET'])
def health_check():
return jsonify({"status": "healthy"}), 200

@app.route('/verify', methods=['POST'])
def verify():
try:
Expand Down

0 comments on commit 6f9a320

Please sign in to comment.