Disable hosted status on 500 pages

Fixes #1547
This commit is contained in:
Joseph Schorr 2016-06-16 16:27:18 -04:00
parent 614b9124ae
commit b73b534022
3 changed files with 4 additions and 1 deletions

View file

@ -205,6 +205,7 @@ def render_page_template(name, route_data=None, **kwargs):
oauth_set=json.dumps(get_oauth_config()),
scope_set=json.dumps(scopes.app_scopes(app.config)),
vuln_priority_set=json.dumps(PRIORITY_LEVELS),
enterprise_logo=app.config.get('ENTERPRISE_LOGO_URL', ''),
mixpanel_key=app.config.get('MIXPANEL_KEY', ''),
google_tagmanager_key=app.config.get('GOOGLE_TAGMANAGER_KEY', ''),
sentry_public_dsn=app.config.get('SENTRY_PUBLIC_DSN', ''),