Fix dev/prod switch.