pandeyganesha
pandeyganesha
RRailway
Created by pandeyganesha on 7/22/2023 in #✋|help
styles not loading django app
Deployment id : 4fb6331a-8cc6-4463-b457-fd1785e3e658 I created a Django project. My site is properly running on local server. I have run the collectstatic command also. I have pushed all the changes to my github account also. I am using free version of Railway. It is deploying my site but not showing the css effects. It says this error : raif-production.up.railway.app/:1 Refused to apply style from 'https://raif-production.up.railway.app/static/css/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. I have set up all the static URLs and followed every single step on my local system. It is working fine there but not getting deployed properly. please help me out, I am stuck for more than 2 days. What should I do?
33 replies