![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
node
菜菜的tommy
努力努力
展开
-
node.js使用CORS跨域
CORSCORS是一个W3C标准,全称是"跨域资源共享"(Cross-origin resource sharing)。它允许浏览器向跨源服务器,发出XMLHttpRequest请求,从而克服了AJAX只能同源使用的限制。(1)Access-Control-Allow-Origin该字段是必须的。它的值要么是请求时Origin字段的值,要么是一个*,表示接受任意域名的请求。(2)Ac...原创 2019-06-15 23:50:31 · 5848 阅读 · 0 评论 -
React中proxy报错问题
React中proxy报错问题但是我发现,依然不行,有大佬能帮我解决一下吗?。。。。When specified, “proxy” in package.json must be a string.Instead, the type of “proxy” was “object”.Either remove “proxy” from package.json, or make it a st...原创 2019-06-15 23:49:27 · 5406 阅读 · 8 评论