Background
When this example is loaded from a public gateway, e.g. dweb.link, things get a little weird, because every request is an IPFS gateway request, causing it to get intercepted.
When this was initially built, the idea was to demonstrate intercepting only requests to gateways, leaving static assets to be handled normally.
In theory this is a good thing, but it needs to be more rigorously tested and documented.
Background
When this example is loaded from a public gateway, e.g. dweb.link, things get a little weird, because every request is an IPFS gateway request, causing it to get intercepted.
When this was initially built, the idea was to demonstrate intercepting only requests to gateways, leaving static assets to be handled normally.
In theory this is a good thing, but it needs to be more rigorously tested and documented.