Step 1 : Open magentoroot/app/etc/env.php
Step 2 : Find -> 'x-frame-options' => 'SAMEORIGIN',
Step 3 : Replace -> 'x-frame-options' => 'GOFORIT',
Shopify, Shopify Apps, Magento, WordPress, Codeigniter, Joomla, Big Commerce | PHP
Step 1 : Open magentoroot/app/etc/env.php
Step 2 : Find -> 'x-frame-options' => 'SAMEORIGIN',
Step 3 : Replace -> 'x-frame-options' => 'GOFORIT',
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>