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 = { ...@@ -31,13 +31,9 @@ FeaturesDict = {
} }
FeaturesJson = json.dumps(FeaturesDict) FeaturesJson = json.dumps(FeaturesDict)
@app.route('/{screen_name}') @app.route('/_healthy')
def shadowban(screen_name): def healthy():
# DO IT return {"healthy": True}
pass
@app.route("/<screen_name>") @app.route("/<screen_name>")
def searchban(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