@ -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 () {
@ -1,6 +1,6 @@
{
"name": "local-web-server",
"version": "1.2.4",
"version": "1.2.6",
"description": "A simple web-server for productive front-end development",
"bin": {
"ws": "./bin/cli.js"