##// 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 pyramid_app, config.registry._pylons_compat_config['routes.map'],
358 pyramid_app, config.registry._pylons_compat_config['routes.map'],
359 skip_prefixes=(STATIC_FILE_PREFIX, '/_debug_toolbar'))
359 skip_prefixes=(STATIC_FILE_PREFIX, '/_debug_toolbar'))
360
360
361 pyramid_app, _ = wrap_in_appenlight_if_enabled(
361 pyramid_app, _ = wrap_in_appenlight_if_enabled(pyramid_app, settings)
362 pyramid_app, config.registry._pylons_compat_config)
363
362
364 if settings['gzip_responses']:
363 if settings['gzip_responses']:
365 pyramid_app = make_gzip_middleware(
364 pyramid_app = make_gzip_middleware(
General Comments 0
You need to be logged in to leave comments. Login now