The app.use documentation shows examples of serving a static directory for static routes, e.g.
app.use('/static', express.static(__dirname + '/public'));
What is the syntax for specifying that a static directory should be served for non-static routes?
Going by the syntax elsewhere (app.get, etc.) it would seem like app.use('/:foo', express.static(__dirname + '/public')); should work. However, I always get a Cannot GET /bar error.