add constant to change api when changing environment