Static/home/bootstrap/css/bootstrap.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff)

when I run normally code on local machine , it's working fine , but on heroku production from github it shows only html , no js , css working ...enter code here

it sends this error I test my application on apple safari, chromium, firefox, google chromes ...

The resource from “https://mywebsite.herokuapp.com/static/home/bootstrap/css/bootstrap.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

The resource from “https://mywebsite.herokuapp.com/static/home/js/masonry.pkgd.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

Back to Top