Set a flag if we are on the staging server and change the API endpoints