摘要: app.use(cors({ "origin": true, //true 设置为 req.origin.url "methods": "GET,HEAD,PUT,PATCH,POST,DELETE", //容许跨域的请求方式 "allowedHeaders": "x-requested-with, 阅读全文
posted @ 2020-12-25 23:06 流弊的小涛 阅读(235) 评论(0) 推荐(0) 编辑