fitler中的添加headers是用逗号隔开的,如 content-type,Authorization .......
原先代码:
res.addHeader("Access-Control-Allow-Headers", "content-type");
修改后:
res.addHeader("Access-Control-Allow-Headers", "content-type,Authorization");标签:content,springboot,res,filter,Access,type,Authorization From: https://www.cnblogs.com/luzanzan/p/17428137.html