Test for prod/test location and use correct API server.
Test for prod/test location and use correct API server.

JamesGould123/trailsy,remory08/trailsy,mbarrenecheajr/trailsy,mgraesser/trailsy,vinh3928/trailsy,remory08/trailsy,trevorackerman/trailsy,vinh3928/trailsy,CodeForBoulder/trailsy,mgraesser/trailsy,trevorackerman/trailsy,CodeForBoulder/trailsy,mbarrenecheajr/trailsy,JamesGould123/trailsy