add ping method

This commit is contained in:
Yax 2018-02-04 17:44:36 +01:00
parent 6cd8341a2f
commit 3064dca6ca

View file

@ -11,6 +11,11 @@ from core import processor
logger = logging.getLogger(__name__)
@app.route("/ping", methods=['GET'])
def ping():
return "OK"
@app.route("/comments", methods=['GET'])
def query_comments():