Changeset - 183c06406127
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 15 years ago 2010-06-07 14:54:27
marcin@python-works.com
fixed bug in middleware config
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
pylons_app/config/middleware.py
Show inline comments
 
@@ -60,16 +60,16 @@ def make_app(global_conf, full_stack=Tru
 
    
 
    #enable https redirets based on HTTP_X_URL_SCHEME set by proxy
 
    app = HttpsFixup(app)
 
    
 
    # Establish the Registry for this application
 
    app = RegistryManager(app)
 

	
 
    if asbool(static_files):
 
        # Serve static files
 
        static_app = StaticURLParser(config['pylons.paths']['static_files'])
 
        app = Cascade([static_app, app])
 
    
 
        app.config = config
 
    app.config = config
 

	
 
    return app
 

	
0 comments (0 inline, 0 general)