##// END OF EJS Templates
fixes problem with basic auth and pushes
marcink -
r1534:72c3cea0 beta
parent child Browse files
Show More
@@ -51,6 +51,12 b' def make_app(global_conf, full_stack=Tru'
51 from rhodecode.lib.profiler import ProfilingMiddleware
51 from rhodecode.lib.profiler import ProfilingMiddleware
52 app = ProfilingMiddleware(app)
52 app = ProfilingMiddleware(app)
53
53
54
55 # we want our low level middleware to get to the request ASAP. We don't
56 # need any pylons stack middleware in them
57 app = SimpleHg(app, config)
58 app = SimpleGit(app, config)
59
54 if asbool(full_stack):
60 if asbool(full_stack):
55 # Handle Python exceptions
61 # Handle Python exceptions
56 app = ErrorHandler(app, global_conf, **config['pylons.errorware'])
62 app = ErrorHandler(app, global_conf, **config['pylons.errorware'])
@@ -74,10 +80,6 b' def make_app(global_conf, full_stack=Tru'
74 app = Cascade([static_app, app])
80 app = Cascade([static_app, app])
75 app = make_gzip_middleware(app, global_conf, compress_level=1)
81 app = make_gzip_middleware(app, global_conf, compress_level=1)
76
82
77 # we want our low level middleware to get to the request ASAP. We don't
78 # need any pylons stack middleware in them
79 app = SimpleHg(app, config)
80 app = SimpleGit(app, config)
81
83
82 app.config = config
84 app.config = config
83
85
General Comments 0
You need to be logged in to leave comments. Login now