Commit 85932b22 authored by nanahira's avatar nanahira

add healthy check

parent db413e1e
Pipeline #16480 passed with stage
in 24 seconds
......@@ -31,13 +31,9 @@ FeaturesDict = {
}
FeaturesJson = json.dumps(FeaturesDict)
@app.route('/{screen_name}')
def shadowban(screen_name):
# DO IT
pass
@app.route('/_healthy')
def healthy():
return {"healthy": True}
@app.route("/<screen_name>")
def searchban(screen_name):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment