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 () {