From 2aeb4230d2e665c890b42355e5aec902ee196cea Mon Sep 17 00:00:00 2001 From: lsm Date: Sat, 23 Jan 2016 11:56:35 -0800 Subject: [PATCH] Do not prepend upgradeUrl. --- HISTORY.md | 4 ++++ lib/web/router.js | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 9a1bc24..5f8f418 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,7 @@ +0.1.110 (2015/01/23) +=================== +- Bug fix for wrong proxy url. + 0.1.109 (2015/01/23) =================== - Close proxy after provider is removed. diff --git a/lib/web/router.js b/lib/web/router.js index 10b1665..058e9af 100644 --- a/lib/web/router.js +++ b/lib/web/router.js @@ -289,9 +289,6 @@ exports.getProxyHandler = function(scheduler, httpServer, upgradeUrl) { if (!provider) { exports.noProviderAvailable(req, res) } else { - if (upgradeUrl) { - req.url = path.join(upgradeUrl, req.url) - } // debug('Proxy web %s %s to povider %s:%s from %s', // req.method, // req.url,