Missing support for index.html in HAMT-subdirectory
Closed this issue · 2 comments
lidel commented
This is issue about (2) on screenshot below can be reproduced by opening /ipfs/bafybeiaysi4s6lnjev27ln5icwm6tueaw2vdykrtjkwiphwekaywqhcjze/wiki/
via service worker gateway at https://bafybeiaysi4s6lnjev27ln5icwm6tueaw2vdykrtjkwiphwekaywqhcjze.ipfs.sw.sgtpooki.com/wiki/:
It takes a while for this error to surface, because of a separate problem described in #18
SgtPooki commented
This is fixed with the changes from ipfs/helia#450.
- clone code from that PR, then run
rm packages/*/*.tgz
- then run
npm run build && cd packages/unixfs && npm pack && cd ../verified-fetch && npm i --save ../unixfs/*.tgz && npm run build && npm pack
- Then run
npm i --save <pathToHeliaRepo>/packages/*/*.tgz
- then
npm run start
The first request takes quite a while, but subsequent requests do not (also, my internet is really slow and borked today)
These changes have been deployed to http://en-wikipedia--on--ipfs-org.ipns.sw.sgtpooki.com/
SgtPooki commented