Using express-http-proxy to solve cross-domain problems

  express

install

npm install express-http-proxy --save

Use

var proxy = require('express-http-proxy');
var app = require('express')();
app.use('/proxy', proxy('www.google.com'));

docs