I’m running a basic http.FileServer to serve a static site and I’ve come across an issue where requests for css files that don’t exist are getting canceled with a MIME type error:
Refused to apply style from 'http://localhost:8080/assets/main.css' because its MIME type ('text/plain')
Ideally, I’d prefer it to be handled with a 404 error as thats what it should actually be. Any possible work arounds I could try?