JS script blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff)
15:33 18 Aug 2020

In a personal project I am using html to "host" a js application (a basic calculator), after some updates the js script doesn't load... I've checked the console and it gives me this error:

The resource from “http://127.0.0.1:5500/bhaskara/assets/js/bhaskara.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

I found some related questions about this and did some tests but nothing worked.

1 Test: I put a Type tag in the (DID NOT WORK)

Before:


After


2 Test: Change the location (DID NOT WORK)

Before:









After






I am really out of Ideas on how to fix this....

javascript html jquery