diff --git a/lib/units/device/plugins/http.js b/lib/units/device/plugins/http.js index 129c92f3..ff6228aa 100644 --- a/lib/units/device/plugins/http.js +++ b/lib/units/device/plugins/http.js @@ -93,7 +93,9 @@ module.exports = syrup.serial() , xfwd: false }) - var proxyServer = http.createServer(proxy.web) + var proxyServer = http.createServer(function(req, res) { + proxy.web(req, res) + }) .listen(everyones) proxyServer.on('listening', resolve)