Handle development and productions routes