CSS not applied to specific route - express

Hi idk but i am having this error in this route and styles aren't applying to this route every route is working fine and styles are applying to every route but not in this one. detail/silver-necklace

Refused to apply style from 'http://localhost:8004/detail/main.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

watch it at 1080p Refused to apply style from because its MIME type in /detail/silver-necklace route - YouTube

app.js file

head.pug file

following the course of awwwards by luis henrique bizzaro and also in the course server nobody gone through this type of error and i know that last time when i try to work with this course i haven't got this error maybe this error is because the repo is so old however i deleted the content in it that time

Hi Ojas,

This does not seem like a Prismic related issue, but here is what I found on Stackoverflow for you:


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.