Show More
@@ -51,6 +51,12 b' def make_app(global_conf, full_stack=Tru' | |||
|
51 | 51 | from rhodecode.lib.profiler import ProfilingMiddleware |
|
52 | 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 | 60 | if asbool(full_stack): |
|
55 | 61 | # Handle Python exceptions |
|
56 | 62 | app = ErrorHandler(app, global_conf, **config['pylons.errorware']) |
@@ -74,10 +80,6 b' def make_app(global_conf, full_stack=Tru' | |||
|
74 | 80 | app = Cascade([static_app, app]) |
|
75 | 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 | 84 | app.config = config |
|
83 | 85 |
General Comments 0
You need to be logged in to leave comments.
Login now