Browse Source

merge in master

master
Lloyd Brookes 9 years ago
parent
commit
88e441dba4
  1. 3
      lib/middleware.js
  2. 2
      package.json

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

2
package.json

@ -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"

Loading…
Cancel
Save