Turn a connect app into a router