diff --git a/app/pylocal/core.py b/app/pylocal/core.py index 7c39742..af2d58e 100644 --- a/app/pylocal/core.py +++ b/app/pylocal/core.py @@ -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 \ No newline at end of file + base_context_live = True + +@app.route("/core/ping") +def aws_healthcheck_ping(): + return flask.make_response("OK", content_type="text/plain") \ No newline at end of file