1 thought on “X-Content-Type-Options blocking all css and js

  1. Hi @mohanen I don’t see any code in your app that would actually serve up the files you listed above. All of those are giving 404 Not Found when I run your app, and since the 404 Not Found is HTML, it doesn’t match the expected MIME type.

    Did you forget to add a app.use('/static', express.static(__dirname + '/static')) in your app file? That fixes the issue for me.

Comments are closed.