Files
notifications-admin/app/status/views/healthcheck.py
Martyn Inglis e8a22f4d09 Added status page
- returns "OK" as JSON with a 200
- used in healthchecks
2016-01-11 14:54:23 +00:00

11 lines
151 B
Python

from flask import jsonify
from app.status import status
@status.route('/_status')
def status():
return jsonify(
status="ok",
), 200