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

Bugfix update due to spec changes #26

Merged
merged 7 commits into from
Sep 25, 2024

Conversation

SethDocherty
Copy link
Member

This address #25 with updates to the ipfs spec

The code changes in this commit update the handling of the IPFS gateway environment variable. Previously, the remote gateway URLs were appended to the existing value of the `IPFS_GATEWAY` environment variable. Now, the code checks if the variable already exists and appends the local gateway URL with the specified gateway port. If the variable doesn't exist, it creates a new one with the local gateway URL.

This change is in accordance with modifications to spec IPIP-280
Revised handling of adding env variables. Note  `gateway.pinata.cloud` has been removed. See this issue for more details fsspec/ipfsspec#17 (comment)
@SethDocherty SethDocherty self-assigned this Sep 25, 2024
@SethDocherty SethDocherty changed the base branch from main to dev-working-branch September 25, 2024 18:20
@SethDocherty SethDocherty merged commit 729d402 into dev-working-branch Sep 25, 2024
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

Successfully merging this pull request may close these issues.

1 participant