##// END OF EJS Templates
config: Use settings from pyramid app init for appenlight.
Martin Bornhold -
r599:0e697286 default
parent child Browse files
Show More
@@ -358,8 +358,7 b' def wrap_app_in_wsgi_middlewares(pyramid'
358 358 pyramid_app, config.registry._pylons_compat_config['routes.map'],
359 359 skip_prefixes=(STATIC_FILE_PREFIX, '/_debug_toolbar'))
360 360
361 pyramid_app, _ = wrap_in_appenlight_if_enabled(
362 pyramid_app, config.registry._pylons_compat_config)
361 pyramid_app, _ = wrap_in_appenlight_if_enabled(pyramid_app, settings)
363 362
364 363 if settings['gzip_responses']:
365 364 pyramid_app = make_gzip_middleware(
General Comments 0
You need to be logged in to leave comments. Login now