I'm encountering an issue where my CSS code is not rendering in the browser, and it seems to be related to MIME types (which I'm not familiar with). I am using EJS as a template engine. The error I see in the console is...
Refused to apply style from 'http://localhost:3000/assets/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
As a Node.js beginner, I'm wondering if that might be the root of the problem. Is there a specific package or any other method to resolve this issue? I have tried following various tutorials, but the problem persists.