Testing domain detection on heroku.
Test for prod/test location and use correct API server.