node.js+express 跨域问题加了请求头无效解决Access to XMLHttpRequest at 'xxxx'from'xxx'origin 'xxx' has been blocke
先吧以下代码复制下来/*解决跨域问题`app.all("*",function(req,res,next){res.header(“Access-Control-Allow-Origin”,"*");res.header(“Access-Control-Allow-Headers”,“Content-Type,Content-Length,Authorization,Accept,X-Reques