Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(demo): caches match doesn't throw errors (#1956)
I used this snippet to work, but the catch is never called and it doesn't work when the cache is empty: https://developer.mozilla.org/en-US/docs/Web/API/Cache/put#examples A more appropriate snippet is this one: https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match mdn/content#29202
- Loading branch information