My web application has a folder named "data" which has .geojson files. When I tried to access my website from Chrome I can see all .geojson files loaded with "200 OK response" Please find below screenshot.
But when I see console logs I am getting "Refused to execute script from because its MIME type ('') is not executable, and strict MIME type checking is enabled."
I have the following code snippet in my HTML file.
Same code working fine in Internet Explorer. I am able to use all .geojson files data from my JavaScript code. Can someone guide me to resolve this issue.