Hey there, would anybody to able to resolve this issue: “The resource from “http://localhost:1313/plugins/easing.min.js” was blocked due to MIME type (“text/plain”) mismatch (X-Content-Type-Options: nosniff).”
This is some sort of a conflict with
nosniff tells the browser not to accept MIME types it’s not expecting (which is a good thing!) Here’s a good rundown on that.
Are you using something other than
hugo serve (or
hugo server) to locally preview your site? For me, both set a Content-Type of
nosniff doesn’t even appear to be set.
When running hugo server, text/plain usually means HTTP 404. There is an issue about getting 404 redirect support in the dev server, which would then give text/html as MIME.
TIL about helmet and that looks super useful in Electron apps. Thanks, bos.