diff --git a/lib/web-server.js b/lib/web-server.js index aa16d2493..03d00ef85 100644 --- a/lib/web-server.js +++ b/lib/web-server.js @@ -42,17 +42,9 @@ var createWebServer = function(injector, emitter) { filesPromise: ['value', filesPromise] }]); - // TODO(vojta): remove if https://github.com/senchalabs/connect/pull/850 gets merged - var compressOptions = { - filter: function(req, res){ - return (/json|text|javascript|dart/).test(res.getHeader('Content-Type')); - } - }; - var proxyMiddlewareInstance = injector.invoke(proxyMiddleware.create); var handler = connect() - .use(connect.compress(compressOptions)) .use(injector.invoke(runnerMiddleware.create)) .use(injector.invoke(karmaMiddleware.create)) .use(injector.invoke(sourceFilesMiddleware.create))