Avoid defaulting crossOrigin attribute
Defaulting the crossOrigin attribute to 'anonymous' causes browsers to not send credentials along with the request, even if the request is not cross origin (at least with Chrome). A better default is to not set the cross origin attribute, allowing browsers to behave normally. Users in a cross origin environment can override this value.
Showing
想要评论请 注册 或 登录