How do I resolve CORB issue that I get when I run this fetch request?
This is my code
fetch('https://miragejs.com', {
  method: 'GET',
  mode: 'no-cors',
  contentType: 'application/json',
  headers: {
    'Access-Control-Allow-Origin': '*'
  }
})
  .then(r => r.json())
  .then(res => {
    console.log(res);
    setData(res);
  });
}, []);
When I run this I get this error -:
Cross-Origin Read Blocking (CORB) blocked cross-origin response https://miragejs.com/ with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
Can anyone tell me what do I need to do ??
 
    