title: NodeJS+Express: serving static files for diffrerent URLs
body: <p>I'm using node.js+express for serving static files (CSS+JS). At this time static dir is configured as</p>
  
  <pre><code>app.use(express.static(__dirname + '/static'));
  </code></pre>
  
  <p>In main templeate layout.jade I load static files as</p>
  
  <pre><code>link(href='css/bootstrap.css', rel='stylesheet')
  </code></pre>
  
  <p>Everything works fine with pages like /hello, /write, /:user. But when I get pages like /bob/505b6833d3835d3705000001/edit, static files cannot be found. Firebug shows Node generates  the same path for static, but styles are not applied for the page. Why? Thanks in advance!</p>