Make sure the ac-discovery URL is generated properly from config values

This commit is contained in:
Joseph Schorr 2015-01-13 18:00:01 -05:00
parent d8817a2965
commit 5bbf1d0c14
2 changed files with 3 additions and 1 deletions

View file

@ -207,6 +207,8 @@ def render_page_template(name, **kwargs):
cache_buster=cache_buster,
has_billing=features.BILLING,
contact_href=contact_href,
hostname=app.config['SERVER_HOSTNAME'],
preferred_scheme=app.config['PREFERRED_URL_SCHEME'],
**kwargs))
resp.headers['X-FRAME-OPTIONS'] = 'DENY'