mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-23 01:30:01 +01:00
change url
This commit is contained in:
parent
d8da825649
commit
b9b0093a2e
@ -19,7 +19,7 @@ export async function getTokens(
|
|||||||
if (!address || !chainId) return []
|
if (!address || !chainId) return []
|
||||||
|
|
||||||
// const url = `http://localhost:3000/api/balance?address=${address}&chainId=${chainId}`
|
// const url = `http://localhost:3000/api/balance?address=${address}&chainId=${chainId}`
|
||||||
const url = `https://web3-api-kremalicious.vercel.app/api/balance?address=${address}&chainId=${chainId}`
|
const url = `https://web3.kremalicious.com/api/balance?address=${address}&chainId=${chainId}`
|
||||||
const response = await fetch(url)
|
const response = await fetch(url)
|
||||||
const json: GetToken[] = await response.json()
|
const json: GetToken[] = await response.json()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user