Skip to content

Commit

Permalink
Revert eventsource addition
Browse files Browse the repository at this point in the history
Revert "require eventsource-polyfill from client.js"
Revert "Add EventSource polyfill for IE"

This reverts commit 4c6b15d.
This reverts commit 94da926.
  • Loading branch information
glenjamin committed Sep 15, 2015
1 parent 79d2121 commit dfb7efb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions client.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/*eslint-env browser*/
/*global __resourceQuery*/

require("eventsource-polyfill");

var options = {
path: "/__webpack_hmr",
timeout: 20 * 1000,
Expand Down
2 changes: 1 addition & 1 deletion middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function webpackHotMiddleware(compiler, opts) {
});
});
return function(req, res, next) {
if (req.path !== opts.path) return next();
if (req.url !== opts.path) return next();
eventStream.handler(req, res);
};
}
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"author": "Glen Mailer <[email protected]>",
"license": "MIT",
"dependencies": {
"eventsource-polyfill": "^0.9.6",
"strip-ansi": "^2.0.1"
}
}

0 comments on commit dfb7efb

Please sign in to comment.