Closed SgtPooki closed 5 months ago
Slightly modifies the code from https://github.com/ipfs-examples/helia-examples/pull/285 to have better UX.
Also implements the previously unimplemented onFetchImage and onFetchFile functions.
onFetchImage
onFetchFile
Better error messaging and loading messages.
Adds fetch-auto functionality to attempt to automatically determine content-type for proper rendering.
fetch-auto
https://github.com/ipfs-examples/helia-examples/assets/1173416/68ffe8c8-c66d-42d5-98b2-af6209f619a7
Slightly modifies the code from https://github.com/ipfs-examples/helia-examples/pull/285 to have better UX.
Also implements the previously unimplemented
onFetchImage
andonFetchFile
functions.Better error messaging and loading messages.
Adds
fetch-auto
functionality to attempt to automatically determine content-type for proper rendering.https://github.com/ipfs-examples/helia-examples/assets/1173416/68ffe8c8-c66d-42d5-98b2-af6209f619a7