Update http-proxy.

This commit is contained in:
Simo Kinnunen
2014-10-23 12:58:37 +09:00
parent 7c4fe52a08
commit cd1f9108ce

View File

@@ -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)