摘要: /*为app添加中间件处理跨域请求*/ app.use(function(req, res, next) { res.header("Access-Control-Allow-Origin", "*"); res.header('Access-Control-Allow-Methods', 'PUT, GET, POST, DELETE, OPTIONS'); res.he... 阅读全文
posted @ 2017-03-08 14:19 爱吃土豆的包子君 阅读(316) 评论(0) 推荐(0)