Fixed the way that the `app.prefix` is applied