Skip to content

Commit

Permalink
modif app.py avec health2
Browse files Browse the repository at this point in the history
  • Loading branch information
ingcloud-fr committed Aug 3, 2024
1 parent 0d806eb commit ebdbd1c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,11 @@ def health_check():
app.logger.info('Health check endpoint was hit !')
return 'OK', 200

@app.route('/health2')
def health_check2():
app.logger.info('Health check endpoint 2 was hit !!!')
return 'OK', 200

@app.route('/write', methods=['GET', 'POST'])
def write():
if 'user_id' not in session:
Expand Down

0 comments on commit ebdbd1c

Please sign in to comment.