127.0.0.1/:1 Refused to apply style from 'http://127.0.0.1:8000/templates/static/static/css/main.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. code example
Example: Refused to apply style from 'http://localhost:3000/css/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
app.get('/style.css', function(req, res) {
res.sendFile(__dirname + "/" + "style.css");
});