updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / cloud9 / middleware.patch
blob399f7e3cc5568ae36431cf20db59879e6fc64c28
1 diff --git a/server/cloud9/middleware.js b/server/cloud9/middleware.js
2 index dac6234..5971d88 100644
3 --- a/server/cloud9/middleware.js
4 +++ b/server/cloud9/middleware.js
5 @@ -24,16 +24,9 @@ exports.staticProvider = function (root, mount) {
7 if (pathname.indexOf(mount) === 0) {
8 request.url = url.replace(mount, "") || "/";
9 - staticGzip(request, response, function (err) {
10 - if (err) {
11 - request.url = url;
12 - return next(err);
13 - }
15 - staticProvider(request, response, function (err) {
16 - request.url = url;
17 - next(err);
18 - });
19 + staticProvider(request, response, function (err) {
20 + request.url = url;
21 + next(err);
22 });
23 } else
24 next();