splashlab / magento-2-cors-requests

Enabling cross-origin resource sharing (CORS) requests to Magento 2 API from configured Origin domain
Open Software License 3.0
69 stars 30 forks source link

Problems getting Module to work #11

Closed KristianJohansenVakwerk closed 2 years ago

KristianJohansenVakwerk commented 5 years ago

Hey,

First of all thanks for writing this module.

I have tried adding it to my Magento 2 installation but I don't see any CORS settings in the Store -> General -> Web, I've cloned your repo. Created the folder structure and uploaded the content of the clone into that. Then I ran the php bin/magento setup:upgrade and php bin/magento setup:static-content:deploy. It might be here the problem is I get what looks like errors. Can I do sudo to force it?

Thanks in advance!

thaddeusmt commented 5 years ago

Sorry this has languished for so long - I am not actively developing Magento currently, so it'll take more time than I have to spin things up to try to help you debug this. The recommended install method is via Composer, there is more room for permission errors with the manual install. Without seeing the setup:upgrade output which you say has "what looks like errors", I'm afraid I don't have a good guess about what is going wrong. Hopefully you found a solution in the intervening months!

thaddeusmt commented 2 years ago

Since I am not working with Magento currently and have not been updating this extension, please check out graycoreio/magento2-cors to enable CORS on your Magento 2 site.