The problem As we were gearing up to migrate Culture Island from our development environments to a semi-production environment on Heroku, we needed the ability to render one of two index HTML files, depending on server side configuration. The first, index.html, would use