Content
@
0 reply
0 recast
2 reactions
Andrea Falcon
@falc
I'm trying to use Viem with NextJS 13.4 on a new project but I have problems with CORS when I use `readContract`. Anyone have the same problem? Thanks
2 replies
0 recast
0 reaction
Yash Karthik
@yashkarthik
haven't used viem with next, but have you looked at the cors middleware for nextjs https://nextjs.org/docs/pages/building-your-application/routing/api-routes#caveats
1 reply
0 recast
0 reaction
Andrea Falcon
@falc
Thanks, maybe I fixed the problem. It was a problem with a wrong parameter I was using. Thanks for your interest :)
0 reply
0 recast
0 reaction