ipfs / service-worker-gateway

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

fix: multiple bugs #220

Closed SgtPooki closed 5 months ago

SgtPooki commented 5 months ago

Title

fix: multiple bugs

Description

Fixes #218 (fix: duplicate body processing in errorPageResponse)

Also fixes other issues:

  1. css assets not being ignored by service worker (it was attempting to fetch them using verified-fetch)
  2. error walking path errors when config.gateways & config.routers is not nullish, but empty array, and so none are set.

Notes & open questions

Change checklist