Skip to content

Commit 0fe173b

Browse files
authored
fix: website gateway url tmp revert (#1716)
1 parent a0a96b3 commit 0fe173b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/website/pages/files.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export default function Files({ user }) {
206206
popupContent={'CID has been copied!!'}
207207
>
208208
<a
209-
href={`https://nftstorage.link/ipfs/${nft.cid}`}
209+
href={`https://dweb.link/ipfs/${nft.cid}`}
210210
className="underline black truncate"
211211
target="_blank"
212212
rel="noreferrer"
@@ -503,7 +503,7 @@ export default function Files({ user }) {
503503
* @param {{cid: string, type?: string}} props
504504
*/
505505
function GatewayLink({ cid, type }) {
506-
const gatewayLink = `https://nftstorage.link/ipfs/${cid}`
506+
const gatewayLink = `https://dweb.link/ipfs/${cid}`
507507
const href = type === 'nft' ? `${gatewayLink}/metadata.json` : gatewayLink
508508
const btnLabel = type === 'nft' ? 'View Metadata' : 'View URL'
509509
const btnTitle = type === 'nft' ? 'View Metadata JSON' : 'View URL'

0 commit comments

Comments
 (0)