Skip to content

Commit

Permalink
ipfs.io gateway as default one
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed Jun 7, 2024
1 parent 10ec7a4 commit 02d693b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/nft/collection/ChangeCollectionPreviewModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div v-if="imageUrl" class="mt-3">
<Image :url="imageUrl" cls="img-thumbnail img-fluid" style="max-width: 100px" />
<br />
<small>If image didn't appear above, then something is wrong with the link you added (wait until the loading indicator completes).</small>
<small>If image didn't appear above, then something is wrong with the link you added (wait until the loading indicator completes). If you have an IPFS link, it also helps to cut/paste the same link a couple of times.</small>
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export default defineNuxtConfig({
iggyPostStatsAddress: "0x2D4144B4E00cf1dC1c4DeDa37cb1CaCEda030998",
imagekitEndpoint: process.env.IMAGEKIT_ENDPOINT,
imagekitPublicKey: process.env.IMAGEKIT_PUBLIC_KEY,
ipfsGateway: "https://cloudflare-ipfs.com/ipfs/",
ipfsGateway2: "https://ipfs.io/ipfs/",
ipfsGateway: "https://ipfs.io/ipfs/",
ipfsGateway2: "https://cloudflare-ipfs.com/ipfs/",
ipfsGateway3: "https://nftdegeniggy.myfilebase.com/ipfs/",
keysAddress: "0xD48e9b2D25CEe123be1d01c09645A0a355174db0", // FriendKeys contract address
keysFeatured: ["tempe", "tekr", "quadshock", "moutcrypto", "inukun"],
Expand Down
9 changes: 5 additions & 4 deletions pages/nft/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<div v-if="cImage" class="mb-4">
<Image :url="cImage" alt="Image" cls="img-thumbnail img-fluid" style="max-width: 100px" />
<br />
<small>If image didn't appear above, then something is wrong with the link you added (wait until the loading indicator completes).</small>
<small>If image didn't appear above, then something is wrong with the link you added (wait until the loading indicator completes). If you have an IPFS link, it also helps to cut/paste the same link a couple of times.</small>
</div>

<!-- Description -->
Expand All @@ -91,7 +91,7 @@
<div id="cDescriptionHelp" class="form-text">Too long description means higher gas cost for storing it.</div>
</div>

<!-- NFT Name -->
<!-- NFT Name
<div class="mb-4">
<label for="nftName" class="form-label">NFT Name (can be changed later)</label>
<input
Expand All @@ -101,6 +101,7 @@
/>
<div v-if="nftName" id="nftNameHelp" class="form-text">The first minted NFTs will be {{ nftName }} #1, {{ nftName }} #2, {{ nftName }} #3 etc.</div>
</div>
-->

<!-- Unique ID -->
<div class="mb-4">
Expand Down Expand Up @@ -246,7 +247,7 @@ export default {
},
fieldsValid() {
return this.cName && this.cSymbol && this.cImage && this.cDescription && this.nftName && this.ratio;
return this.cName && this.cSymbol && this.cImage && this.cDescription && this.ratio;
},
},
Expand Down Expand Up @@ -291,7 +292,7 @@ export default {
fetchReferrer(window), // referrer
this.cleanDescription, // collection description
this.cImage, // collection image
this.nftName, // NFT name
this.cName, // NFT name
this.cName, // collection name
this.cSymbol, // collection symbol
this.uniqueId, // unique ID to easily find the NFT contract address
Expand Down

0 comments on commit 02d693b

Please sign in to comment.