cancel
Showing results for 
Search instead for 
Did you mean: 

GraphQL enable CORS

GraphQL enable CORS

Hi community --

 

I've been setting up a Magento 2 on Nginx with PHP 7.2 and I've running locally a PWA that connects to the {magentourl}/graphql path but it gets blocked by the CORS policy on the browser, Does any one of you know how to setup CORS enabled for GraphQL?. BTW I already did it for the rest with https://github.com/splashlab/magento-2-cors-requests.

 

Best regards.