Console Error Log: ... Manifest.js?_=1658815741467” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

Today I got a strange error message which I dont know what to do. Is this something you are expiriencing, well, if you are, you are in luck because I have the solution to solve this error message.

I solve my problem by change the server I was running on my applications. You see, this is what I was doing.

  1. Running my primary app on a localserver
  2. Running my javascript API on a Visual Code Live Server

I thought by embeding my API the content will be rendered in my localhost, but no. I was getting this error because while on my broswer I was able to open http:127.0.0.1:3001, when I embeded with the script that it didn't work because VS code is only a localize server,

Solution, run the API on the localhost!