Skip to content

Commit

Permalink
deps: bump Foxy to handle 'upgrade' events correctly (web socket supp…
Browse files Browse the repository at this point in the history
…ort)
  • Loading branch information
shakyShane committed May 3, 2015
1 parent 74b3944 commit 25dfb5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion lib/server/proxy-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ module.exports = function createProxyServer (bs, scripts) {

var app = require("foxy")(options.getIn(["proxy", "target"]), opts);

return utils.getServer(app, bs.options);
var proxy = utils.getServer(app, bs.options);

proxy.server.on("upgrade", app.handleUpgrade);

return proxy;
};

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"easy-extender": "^2.3.1",
"eazy-logger": "^2.1.2",
"emitter-steward": "^0.0.1",
"foxy": "^10.0.2",
"foxy": "^10.1.2",
"immutable": "^3.6.4",
"localtunnel": "^1.3.0",
"lodash": "^3.7.0",
Expand Down

0 comments on commit 25dfb5a

Please sign in to comment.