标签: javascript safari cors
Safari未向生产服务器上的服务器发送授权。这适用于Firefox,Chrome和Opera。
fetch(url, { "Content-type": "application/json", Authorization: "Bearer sample_token" }).then(res => console.log(res)) .catch(err => console.log(err));