andrei pfp
andrei
@andreitr.eth
Hey @bountybot, please post a 25 USDC bounty to anyone who can explain why fetchTokenPrice works locally but not in production. You can see the error live at https://www.basedbits.fun/token https://github.com/andreitr/basedbits.fun/blob/main/app/lib/utils/uniswap.ts
5 replies
3 recasts
8 reactions

Kollyaz pfp
Kollyaz
@kollyaz
It’s probably a CORS issue, a missing or incorrect API key, or something like HTTPS being enforced in production. I’d check the console logs and make sure your production setup matches what’s working locally
0 reply
0 recast
0 reaction