carrot/pathologist-middleware — pull request #1 by joshrowley (2014-05-08 03:37:18+00:00)
Title: initial tests and implementation of globstar routes

Serves globstar matched routes with a single static file.

```coffee
app.use(
pathologist
'/admin/**': 'admin.html',
'/**': 'index.html'
)
```

You can pass in a base directory path as the first argument to pathologist, otherwise it'll look in `process.cwd()` for the file.