Error javascript


#1

Hello,

I have a site that goes through cloudflare and I encounter a problem with javascript files

Refused to execute script from ‘https://www.domain.com/actu-forum.php’ because its MIME type (‘text / html’) is not executable, and strict MIME type checking is enabled.

is it a bad setup? because I have another site on the same server but not cloudflare and no problem :frowning:

thank you in advance

Ludovic


#2

If you have Rocket Loader turned on, that might be it. As it streamlines Javascript, sometimes it gets a bit scrambled.


#3

it’s a off :frowning: