diff --git a/snappass/main.py b/snappass/main.py index 6cfcd4f1..bd04299b 100644 --- a/snappass/main.py +++ b/snappass/main.py @@ -214,6 +214,11 @@ def show_password(password_key): return render_template('password.html', password=password) +@app.route('/healthcheck', methods=['GET']) +def get_healthcheck(): + return {'result': 'I\'m working👍'} + + @check_redis_alive def main(): app.run(host='0.0.0.0')