Afte move multi-site localhost to live how to update Access-Control-Allow-Origin
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2020
01:31 AM
07-23-2020
01:31 AM
Magento 2.3 - How to update Access-Control-Allow-Origin after move multi-site from localhost to live
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2020
08:36 PM
07-23-2020
08:36 PM
Re: Magento 2.3 - How to update Access-Control-Allow-Origin after move multi-site from localhost to
Hi @Aveeva
You can also set the cross-origin in app/etc/env.php by changing the following parameter.
'x-frame-options' => 'CROSS-ORIGIN',
after changing flush your magento cache
php bin/magento c:f
Thanks
Problem Solved? Please click on 'Kudos' & Accept as Solution!
Problem solved? Click Accept as Solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2020
09:46 PM
07-23-2020
09:46 PM