Correction

`env` is already defined in `app.js`. So you can use `app.get('env');` to retrieve the environment.