Rather than doing this here, can we use a `middleware.redirect` when defining the routes in `app/index.js`?