I am working with in a project with a backend and front-end in Angular. I recieve the blog articles from the server, correctly but with the reload, angular not find a css stylessheet loadind correctly It load correctly the blog article, but when i reload (press F5) the page, it appears the following error: Refused to apply style from 'http://localhost:4200/blog/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. [ERROR]
Here is my code from: enter image description here enter image description here
i dont know how to fix that, i think maybe is that i am working with async blogIDs that come from the server, but i dont know why at first it load correctly and when y press F5 then change