인프런 커뮤니티 질문&답변
static/blog/css/ 폴더에 css파일을 넣었는데 실행이 안됩니다
작성
·
219
0
css파일을 넣고 실행시키면 콘솔창에 아래와 같은 오류메시지가 나오는데 해결방법 문의드립니다
127.0.0.1/:1 Refused to apply style from 'http://127.0.0.1:8000/blog/1/%%20static%20'blog/css/blog-home.css'%20%' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
답변 1
0
SungYong Lee
지식공유자
CSS 파일 경로가 이상한데요? html 파일 보여주시면 원인을 찾아보겠습니다.
settings.py나 프로젝트의 urls.py가 잘못 되어 있을 수도 있습니다.





