我正在使用浏览器同步和 Web api C# 2.0,当我调用方法登录时,它会在响应标头 set-cookie 中返回,但该方法没有在浏览器中设置 cookie。
browserSync.init({
notify: false,
cors: true,
port: 6543,
server: {
baseDir: config.dir.src,
routes: {
"/bower_components": "bower_components"
},
middleware: [function(req, res, next) {
next();
}]
}
});
编辑