From e2f30be2269629a96503ea487b5248ab3b6918ab Mon Sep 17 00:00:00 2001 From: Shane Osbourne Date: Sat, 8 Nov 2014 17:17:36 +0000 Subject: [PATCH] fix(proxy): Bump Foxy to fix issues with redirects --- lib/server/index.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/server/index.js b/lib/server/index.js index 1aa4eac66..a6182e911 100644 --- a/lib/server/index.js +++ b/lib/server/index.js @@ -195,7 +195,7 @@ module.exports.createProxy = function (options, scripts, bs) { }); return foxy.init( - options.proxy, + options.proxy.target, snippetUtils.getRegex(options.snippet), snippetUtils.getProxyMiddleware(scripts, options.scriptPaths.versioned), function () {} diff --git a/package.json b/package.json index c05178861..c6dcc2bd9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "browser-sync", "description": "Live CSS Reload & Browser Syncing", - "version": "1.6.3", + "version": "1.6.4", "homepage": "https://github.com/shakyshane/browser-sync", "author": { "name": "Shane Osbourne" @@ -39,7 +39,7 @@ "easy-extender": "^2.0.0", "eazy-logger": "1.4.0", "emitter-steward": "0.0.1", - "foxy": "^3.0.0", + "foxy": "^4.0.3", "glob-watcher": "0.0.6", "localtunnel": "^1.3.0", "lodash": "~2.4.1",