diff --git a/index.js b/index.js index f8129754..345bc852 100644 --- a/index.js +++ b/index.js @@ -55,6 +55,9 @@ module.exports = function proxy(host, userOptions) { } else { next(); } + }) + .then(function () { + next(); }); }; };