Skip to content

Tag: sanity

Connection refused for Sanity API call

I’m using the sanity php client to fetch some data off of sanity. This is my query: This is the error I’m getting: The odd thing is: everything works fine in my local dev environment. but testing this on the webserver results in the error. I added the CORS origins so both localhost and the Webserv…