Node.js跨域
作者:
马丁的早辰 | 来源:发表于
2018-08-30 13:11 被阅读0次
res.setHeader('Access-Control-Allow-Origin',req.headers.origin);
res.header('Access-Control-Allow-Credentials', true);
https://stackoverflow.com/questions/24897801/enable-access-control-allow-origin-for-multiple-domains-in-nodejs
本文标题:Node.js跨域
本文链接:https://www.haomeiwen.com/subject/jybrwftx.html
网友评论