add flask.request.host to top of rendered template, debugging why it's not pulling stuff from s3
This commit is contained in:
		@@ -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")
 | 
			
		||||
    return flask.Response("OK", content_type="text/plain")
 | 
			
		||||
		Reference in New Issue
	
	Block a user