yznts/hn

CSS not served properly

Closed this issue · 2 comments

Cloning, building and running, yields following error message:
The resource from “http://localhost:25025/static/css/tailwind.min.css” was blocked due to MIME type (“text/plain”) mismatch (X-Content-Type-Options: nosniff)

All CSS icons are 100% width of viewport.

yznts commented

Thank you for creating an issue!
Please, can you provide a bit more details?

  • Did you have built statics? This project uses tailwind, so, you need to build it first with (cd static; npm i; npm run build). I'll add documentation for building this project asap.
  • Can you provide full list of response headers?
  • And the last one, which browser and version do you use?

To be honest, I think problem is actually in building static files. If not so, it would be useful to have such details for this issue.

My bad, did not notice that the file in question is not present and must be built. Sorry.