Re: [w3c/ServiceWorker] cors image request retry not work (#1488)

A sample code:

```
self.addEventListener('fetch', function(e) {
  if(e.request.url === 'https://cdna.com/img.png'){
    return fetch(new Request('https://cdnb.com/img.png'));
  }else{
    return fetch(e.request);
  }
});
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1488#issuecomment-562702316

Received on Friday, 6 December 2019 19:16:48 UTC