diff --git a/app/pylocal/core.py b/app/pylocal/core.py index af2d58e..0425675 100644 --- a/app/pylocal/core.py +++ b/app/pylocal/core.py @@ -11,7 +11,7 @@ def render_base_context(): global base_context global base_context_live - print(flask.request.host) + base_context["svchost"] = flask.request.host domain_components = flask.request.host.split(".") base_domain = ".".join(domain_components[-2:]) @@ -31,4 +31,4 @@ def render_base_context(): @app.route("/core/ping") def aws_healthcheck_ping(): - return flask.make_response("OK", content_type="text/plain") \ No newline at end of file + return flask.Response("OK", content_type="text/plain") \ No newline at end of file diff --git a/app/templates/main_page.j2 b/app/templates/main_page.j2 index 7337ee6..3e8ca88 100644 --- a/app/templates/main_page.j2 +++ b/app/templates/main_page.j2 @@ -1,4 +1,5 @@ + Seagull Game