Closed markverbeek-amsterdam closed 1 year ago
Hey there @markverbeek-amsterdam!
Did you make sure the API CORS access on Sanity includes the new domain you've added? You'll need to make sure you've added the new domain there, and ensure the Shopify Webhooks use the new domain as well.
I did and now it works, I should have thought of this myself, apologies and thank you so much for your help!
The Vercel deploy works fine on the Vercel.app domain. However, if I use a custom (.amsterdam) domain, everything works except the inventory update. The buttons show 'Loading' and you cannot add items to the cart. The Vercel function logs show this:
When I use the Vercel.app url the logs only show 200 statuses, no 304