1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 01:30:01 +01:00

change url

This commit is contained in:
Matthias Kretschmann 2023-10-28 22:56:16 +01:00
parent d8da825649
commit b9b0093a2e
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -19,7 +19,7 @@ export async function getTokens(
if (!address || !chainId) return []
// 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 json: GetToken[] = await response.json()