Geo-Web-Project / browser

An interface that uses geolocation to navigate/resolve content on the Geo Web.
MIT License
3 stars 8 forks source link

fix: Fetch actual path from gateway #64

Closed codynhat closed 1 year ago

codynhat commented 1 year ago

Description

In the event of a timeout from the IPFS node on raw.get, fetches the raw block of the actual leaf node from the gateway instead of the root. The fix is updated in js-geo-web.

Also updates the gateway to w3link.

Checklist:

Alert Reviewers

@tnrdd @gravenp

tnrdd commented 1 year ago

Tried with a 20 items gallery and the performance is night and day relative to fetching the whole root. I did occasionally get 502 status code, don't know if it's a problem on my end, the server or else but it's something to keep in mind.