1

I'm facing this issue. Can anyone please let me know how can I resolve this issue:- Refused to execute script from '***' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.

1 Answers1

0

Add following code in htaccess file :

<IfModule mod_headers.c>
Header always set X-Content-Type-Options nosniff    
</IfModule>

For More information and Magento issue with MIME

Sanchit Gupta
  • 3,148
  • 2
  • 28
  • 36
  • Hi @Sanchit Gupta thanks for your response. I've added your code into the file and now it's working fine on chrome. But still I'm facing the issue in SAFARI. Can you please let me know is there any alternate way to resolve this issue in safari? – Inderpreet Singh Saini Jan 26 '18 at 10:30
  • @InderpreetSinghSaini I will check and update the answer soon. But in between if you found the solution please update the answer. – Sanchit Gupta Jan 27 '18 at 16:31