cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3 - How to update Access-Control-Allow-Origin after move multi-site from localhost to live

Magento 2.3 - How to update Access-Control-Allow-Origin after move multi-site from localhost to live

Afte move multi-site localhost to live how to update Access-Control-Allow-Origin

2 REPLIES 2

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!

Re: Magento 2.3 - How to update Access-Control-Allow-Origin after move multi-site from localhost to

@Bhanu Periwal By default already, 

 'x-frame-options' => 'CROSS-ORIGIN'