title: Mime Type Issue Loading CSS With Django App
body: <p>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:</p>
  <blockquote>
  <p>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.</p>
  </blockquote>
  <p>The static directory is defined in my settings.py file as:</p>
  <pre><code>STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
  STATIC_URL = '/static/'
  </code></pre>
  <p>In my base.html file, my link tag looks like this:</p>
  <pre><code>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;{% static 'blog/main.css' %}&quot;&gt;
  </code></pre>
  <p>Works locally. Why is it not loading up in the Heroku environment?</p>