Skip to content

Commit

Permalink
fix: BlockfrostIPFS customBackend support
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbackspace committed Jan 13, 2025
1 parent c912724 commit 50fe0c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/BlockFrostIPFS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ class BlockFrostIPFS {

this.apiUrl = `${apiBase}/v${this.options.version}`;

this.apiUrl =
this.options?.customBackend || `${apiBase}/v${this.options.version}`;

this.userAgent =
options?.userAgent ?? `${packageJson.name}@${packageJson.version}`;

Expand Down

0 comments on commit 50fe0c9

Please sign in to comment.