Problems with cors policies when calling the backend of an app

Problems with cors policies when calling the backend of an app

ljrr3045Dev
Shopify Partner
1 0 0

Hello friends of shopify, I am contacting you due to a problem I have with the development of my app for shopify, currently I have an inconvenience when accessing the backend of my app, the CORS batteries block me and I cannot extract data from it. backend. To fix this install cors handling packages and these helped me. My problem is that if I try the app on certain devices, the cors policies block the call to the backend, but if I do it from other devices, this does not happen and it works correctly.

 

I am making the call to the backend from the invoices section, I use this npm package "npm i cors" and if I try it from my pc everything works correctly, but if I run the app from a mac the cors policies block the call to the backend and I can't do anything, does this happen to anyone else?

Replies 0 (0)