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
https://gist.github.com/whizzbbig/97be0c5bb637918082e242af0ed55b4f

head.pug file
https://gist.github.com/whizzbbig/1af19fbeb0805b8ddf7059eeb5fd727f

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:

Thanks.

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