I have a Django app hosted on Heroku, and my stylesheet isn't loading. Now I've taken the time to read the other questions on this issue, but I believe each situation is unique. Now the error is as follows:
Refused to apply style from 'https://mazzodjangoapp.herokuapp.com/static/blog/main.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
The static directory is defined in my settings.py file as:
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
STATIC_URL = '/static/'
In my base.html file, my link tag looks like this:
<link rel="stylesheet" type="text/css" href="{% static 'blog/main.css' %}">
Works locally. Why is it not loading up in the Heroku environment?