“You can overcome this issue by setting the mode of the request to no-cors. This basically tell's the browser that it's still ok to get the asset despite the server not supporting CORs, however, the response type will be opaque for these responses, meaning you won't be able to examine the response
Fetch is the new XHRfetch(), defined in the Fetch API, is a new API which allows you to make requestssimilar to XHR’s, but has a simpler / friendly API. The Fetch API is available in service worke...
“You can overcome this issue by setting the mode of the request to no-cors. This basically tell's the browser that it's still ok to get the asset despite the server not supporting CORs, however, the response type will be opaque for these responses, meaning you won't be able to examine the response
このブックマークにはスターがありません。
最初のスターをつけてみよう!