health
This commit is contained in:
@@ -65,6 +65,12 @@ def index():
|
|||||||
return "", 200
|
return "", 200
|
||||||
|
|
||||||
|
|
||||||
|
@app.route('/health.html', methods=["GET",]) # fmt: skip
|
||||||
|
def health():
|
||||||
|
log_request(f"{request.url}, {request.headers.getlist('X-Forwarded-For')[0]}")
|
||||||
|
return f"OK {request.url}", 200
|
||||||
|
|
||||||
|
|
||||||
@app.route("/upload", methods=["PUT", "POST"])
|
@app.route("/upload", methods=["PUT", "POST"])
|
||||||
def upload():
|
def upload():
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user