config: Use settings from pyramid app init for appenlight.
This commit is contained in:
parent
89ac5b779f
commit
ef608f6b78
1 changed files with 1 additions and 2 deletions
|
|
@ -358,8 +358,7 @@ def wrap_app_in_wsgi_middlewares(pyramid_app, config):
|
|||
pyramid_app, config.registry._pylons_compat_config['routes.map'],
|
||||
skip_prefixes=(STATIC_FILE_PREFIX, '/_debug_toolbar'))
|
||||
|
||||
pyramid_app, _ = wrap_in_appenlight_if_enabled(
|
||||
pyramid_app, config.registry._pylons_compat_config)
|
||||
pyramid_app, _ = wrap_in_appenlight_if_enabled(pyramid_app, settings)
|
||||
|
||||
if settings['gzip_responses']:
|
||||
pyramid_app = make_gzip_middleware(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue