Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get IPLD Car file #20

Open
tennox opened this issue Sep 21, 2023 · 0 comments
Open

How to get IPLD Car file #20

tennox opened this issue Sep 21, 2023 · 0 comments

Comments

@tennox
Copy link

tennox commented Sep 21, 2023

Kinda figured out how to use this - see #14 (comment)

but I need to fetch car files for dag-json encoded IPLD data, which I half-figured out:

I needed to modify sw-core to use r.searchParams.set("dag-scope", "all") (was: entity).
The request to saturn.ms returns the car file correctly, but the service worker response returns a network error trying to read the response 😞:

TypeError: Failed to fetch

see this branch on the demo repo & the deployed demo (check console)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant