Skip to content

Commit

Permalink
Merge pull request #150 from raid-guild/remove-private-infura-gateway
Browse files Browse the repository at this point in the history
Remove private infura gateway
  • Loading branch information
ECWireless authored Jan 24, 2024
2 parents e8e2ad5 + 350bbed commit 9e9dcca
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
ItemInfoFragment,
ItemRequirementInfoFragment,
} from '@/graphql/autogen/types';
import { ENVIRONMENT } from '@/utils/constants';

import {
Character,
Expand All @@ -21,9 +20,9 @@ import {

const IPFS_GATEWAYS = ['https://cloudflare-ipfs.com', 'https://ipfs.io'];

if (ENVIRONMENT === 'main') {
IPFS_GATEWAYS.unshift('https://character-sheets.infura-ipfs.io');
}
// if (ENVIRONMENT === 'main') {
// IPFS_GATEWAYS.unshift('https://character-sheets.infura-ipfs.io');
// }

/**
* Given a URI that may be ipfs, ipns, http, https, ar, or data protocol, return the fetch-able http(s) URLs for the same content
Expand Down

0 comments on commit 9e9dcca

Please sign in to comment.