title: Can I Prevent Multiple Static directories in Express producing a 404?
body: <p>I am attempting to serve files from 2 different folders, the purpose for this is that I would like have my admin and client folders completely separated.</p>
  
  <p>I have the following code to initiate the folders, however as express looks for <code>example.css</code>, if it doesn't find it in the first <em>/static</em> directory, it sends a 404 error and then it does find it in the second directory.</p>
  
  <pre><code>app.use(express.static(__dirname + "/static")); 
  app.use(express.static(__dirname + "/alternate_static"));
  </code></pre>
  
  <p>Is there any way I can make it so express doesn't serve the 404 unless it can't find the file in any of the multiple folders or is this a potential issue i should post on the gitHub?</p>
  
  <p><strong>Edit:</strong> To try make myself clearer... If I have a directory as follows;</p>
  
  <pre><code>/static
  /alternate_static/index.js
  </code></pre>
  
  <p>and I try load index.js, Express will first look in <code>/static</code> then it will log a 404 error because it cannot find the file, then it will search <code>/alternate_static</code> and it will find the file and proceed to serve the file. I am hoping to stop the first 404 from happening.</p>
  
  <p><strong>EDIT: Solved. it seems that it was some kind of cache issue with the favicon</strong></p>
  
  <p>Thanks</p>