add ping method
This commit is contained in:
parent
eb539a8a6f
commit
f8ded2029d
@ -11,6 +11,11 @@ from core import processor
|
|||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
@app.route("/ping", methods=['GET'])
|
||||||
|
def ping():
|
||||||
|
return "OK"
|
||||||
|
|
||||||
|
|
||||||
@app.route("/comments", methods=['GET'])
|
@app.route("/comments", methods=['GET'])
|
||||||
def query_comments():
|
def query_comments():
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user