Added status page

- returns "OK" as JSON with a 200
- used in healthchecks
This commit is contained in:
Martyn Inglis
2016-01-11 14:54:23 +00:00
parent bfb2267249
commit e8a22f4d09
4 changed files with 18 additions and 0 deletions

View File

View File

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