Change insert_before to use when adding rack cors to make heroku happy.