Load environment variables before requiring routes
Load environment variables before requiring routes

Code in `route.js` may be looking for environment variables. If the environment variables aren’t loaded beforehand this will cause an exception.

I suspect this worked fine before https://github.com/alphagov/govuk-prototype-kit/commit/bbe15e8fa6d7ba75a7c09c0c5c2c0db7a2e55047#diff-78c12f5adc1848d13b1c6f07055d996e, which reordered the first lines in `server.js`.

This commit moves the loading of environment variables to before the requiring of any `routes.js` files.

alphagov/govuk_prototype_kit,dwpdigitaltech/hrt-prototype,dwpdigitaltech/hrt-prototype,alphagov/govuk_prototype_kit,alphagov/govuk_prototype_kit,dwpdigitaltech/hrt-prototype