npm install http-proxy --save
node .\server.js
var http = require('http'), httpProxy = require('http-proxy'); // // Create your proxy server and set the target in the options. // httpProxy.createProxyServer({target:'http://localhost:10090'}).listen(8000);
No comments:
Post a Comment