/core/ping added for AWS healthcheck
This commit is contained in:
parent
7c9930e0b6
commit
575597b890
@ -22,8 +22,13 @@ def render_base_context():
|
||||
base_context["scripts"] = ["https://cdn.otl-hga.net/seagull/js/seagull.js"]
|
||||
base_context["seagull_pic"] = "https://cdn.otl-hga.net/seagull/image/seagull.jpg"
|
||||
else: # dev, serve files from here
|
||||
print(base_domain)
|
||||
base_context["styles"] = [flask.url_for("static", filename="css/seagull.css")]
|
||||
base_context["scripts"] = [flask.url_for("static", filename="js/seagull.js")]
|
||||
base_context["seagull_pic"] = flask.url_for("static", filename="image/seagull.jpg")
|
||||
|
||||
base_context_live = True
|
||||
base_context_live = True
|
||||
|
||||
@app.route("/core/ping")
|
||||
def aws_healthcheck_ping():
|
||||
return flask.make_response("OK", content_type="text/plain")
|
Loading…
x
Reference in New Issue
Block a user