alexislepresle / gatsby-shopify-theme

🛒 Simple theme to build a blazing simple and fast store with Gatsby and Shopify.

Home Page:https://gatsby-shopify-store.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Facing a `CORS error`.

AbdallahAbis opened this issue · comments

I have cloned and updated the .env variables, but I'm getting a CORS error
Screen Shot 2021-08-07 at 13 10 24

The same issue that I've faced using the CURL API, I believe I need to add something to my Shopify backend, could you please guide me on how to do that. it would be really appreciated.
Also, isn't it a security venerability to provide the Access token in the header of the call? and is there a better solution?

Thanks in advance.