ipfs / service-worker-gateway

[WIP EXPERIMENT] IPFS Gateway implemented in Service Worker
https://inbrowser.link
Other
17 stars 8 forks source link

feat: optimize _redirects to only handle splats of /ipfs and /ipns requests #223

Closed SgtPooki closed 2 months ago

SgtPooki commented 2 months ago

@2color reported getting the following error:

Still not working, the main problem is the one I mentioned where requests for js assets, e.g. https://inbrowser.dev/ipfs-sw-117-78590e7d2e2caa94e1bc.js are redirected to /?helia-sw=/ipfs-sw-117-78590e7d2e2caa94e1bc.js and then that returns the root html page

We should make sure we're not redirecting these which can cause even more confusion