Skip to content

Commit a62754c

Browse files
committed
proxy metadata json uri
1 parent 8a81147 commit a62754c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/providers/accounts/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ import { ParsedInfo } from '@validators/index';
3333
import React from 'react';
3434
import { create } from 'superstruct';
3535

36+
import { getProxiedUri } from '@/app/features/metadata/utils';
37+
3638
import { HistoryProvider } from './history';
3739
import { RewardsProvider } from './rewards';
3840
import { TokensProvider } from './tokens';
@@ -451,7 +453,7 @@ const getMetaDataJSON = async (
451453
};
452454

453455
try {
454-
fetch(uri)
456+
fetch(getProxiedUri(uri))
455457
.then(async _ => {
456458
try {
457459
const data = await _.json();

0 commit comments

Comments
 (0)