title: Expressjs: Relative links in subfolder serving from route
body: <p>This is driving me crazy. I don't know if it's something simple or not but I feel like it should work. I am routing subdirectory requests to an app:</p>
  
  <p><code>app.use('/admin', express.static(__dirname + '/webapps/admin'));</code></p>
  
  <p>In <code>webapps/admin/index.html</code> I have this:</p>
  
  <p><code>&lt;link href="styles/vendor.3b7af2c7.css" rel="stylesheet"&gt;</code></p>
  
  <p>Which makes sense because the file is in <code>/webapps/admin/styles</code></p>
  
  <p>But then I get this:</p>
  
  <p><code>"NetworkError: 404 Not Found - https://www.domain.com/styles/vendor.3b7af2c7.css"</code></p>
  
  <p>Why is it dropping down to the root for this relative link? How do I make it read relative properly? Thanks.</p>