Skip to content

Commit

Permalink
Merge pull request #2604 from IntersectMBO/fix/ipfs-links-not-working
Browse files Browse the repository at this point in the history
fix: fetching metadata from ipfs.io gateway
  • Loading branch information
MSzalowski authored Jan 7, 2025
2 parents 3fd1c7e + 1101c5e commit 3d6c597
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ changes.
### Fixed

- Fix CIP-129 DRep view identifier for script based DReps [Issue 2583](https://github.com/IntersectMBO/govtool/issues/2583)
- Fix fetching metadata from IPFS gateway
- Fix bad request on passing the random sorting to GA list request [Issue 2535](https://github.com/IntersectMBO/govtool/issues/2535)
- Fix wrong drep activity conditions

Expand Down
2 changes: 2 additions & 0 deletions govtool/metadata-validation/src/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export class AppService {
this.httpService
.get(url, {
headers: {
// Required to not being blocked by APIs that require a User-Agent
'User-Agent': 'GovTool/Metadata-Validation-Tool',
'Content-Type': 'application/json',
...(isIPFS &&
process.env.IPFS_PROJECT_ID && {
Expand Down

0 comments on commit 3d6c597

Please sign in to comment.