Skip to content

Commit

Permalink
Update fetcher.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Luigy-Lemon authored May 4, 2024
1 parent 414b689 commit 03412e4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,12 +384,13 @@ export abstract class Fetcher {

const chainTokenURL = tokenListUrl.get(chainId) ?? ''

const response = await fetch(chainTokenURL, {
method: 'GET',
headers: {
'content-type': 'application/json;charset=UTF-8'
}
})
const response = await fetch(chainTokenURL, {
method: 'GET',
mode: 'cors',
headers: {
'Content-Type': 'application/json;charset=UTF-8'
}
});

const tokenList = []

Expand Down

0 comments on commit 03412e4

Please sign in to comment.