alphagov/frontend — comment on commit 958da42839dfcb90b0e7f1bdb9350c453998bb79
File:  line 0
By craigw:

These will hit production when on the preview platform, which I assume isn't what you wanted to do. We have access to the platform via `ENV['FACTER_govuk_platform']`. It may be worth using the word `platform` instead of `environment` in the API gem as well to hint that we don't care about the Rails env, we only care about the platform we're talking to / running on.