title: JS script blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff)
body: <p>In a personal project I am using html to &quot;host&quot; 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:</p>
  <p><code>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).</code></p>
  <p>I found some related questions about this and did some tests but nothing worked.</p>
  <p><strong>1 Test</strong>: I put a Type tag in the  (DID NOT WORK)</p>
  <p><em>Before:</em></p>
  <pre><code>&lt;script src=&quot;../bhaskara/assets/js/bhaskara.js&quot;&gt;&lt;/script&gt;
  </code></pre>
  <p><em>After</em></p>
  <pre><code>&lt;script type=&quot;text/javascript&quot; src=&quot;../bhaskara/assets/js/bhaskara.js&quot;&gt;&lt;/script&gt;
  </code></pre>
  <p><strong>2 Test</strong>: Change the  location (DID NOT WORK)</p>
  <p><em>Before:</em></p>
  <pre><code>&lt;body&gt;
  
  &lt;tags&gt;
  &lt;tags&gt;
  
  &lt;script src=&quot;../bhaskara/assets/js/bhaskara.js&quot;&gt;&lt;/script&gt;
  
  &lt;/body&gt;
  </code></pre>
  <p><em>After</em></p>
  <pre><code>&lt;head&gt;
  
  &lt;script src=&quot;../bhaskara/assets/js/bhaskara.js&quot;&gt;&lt;/script&gt;
  
  &lt;/head&gt;
  </code></pre>
  <p>I am really out of Ideas on how to fix this....</p>