title: MIME type error with express.static and CSS files
body: <p>I'm using Express and NodeJS. In my <code>server.js</code> file I have this piece of code:</p>
  <pre><code>app.use(express.static('/static'));
  </code></pre>
  <p>And subsequently in my static directory, I have a CSS folder, and then a <code>style.css</code> file. In my <code>index.html</code>, I link to the sheet like so:</p>
  <pre><code>  &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;/static/css/style.css&quot;&gt;
  </code></pre>
  <p>However, in my test environment I continue to get this error:</p>
  <blockquote>
  <p>Refused to apply style from 'http://localhost:3500/static/css/style.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.</p>
  </blockquote>
  <p>I am sure that my path name in my tag is right, and I'm confused to why I'm getting this error.</p>
  <p>Do I need to declare that CSS files be processed as CSS and not HTML? Am I not doing that when I say <code>type=&quot;text/CSS&quot;</code>? If not, what do I need to put into my server file to remedy this issue?</p>