From 290629602ee1f79ebe345da66af9dfc9f2f5351b Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Thu, 9 Jun 2016 16:49:48 +0100 Subject: [PATCH] proxy: permit insecure targets --- lib/middleware.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/middleware.js b/lib/middleware.js index 984b768..650a7a0 100644 --- a/lib/middleware.js +++ b/lib/middleware.js @@ -18,7 +18,8 @@ exports.mime = mime function proxyRequest (route) { const httpProxy = require('http-proxy') const proxy = httpProxy.createProxyServer({ - changeOrigin: true + changeOrigin: true, + secure: false }) return function proxyMiddleware () {