The IP of the API is now the same as the IP of the frontend ('http://'+location.hostname). Also the dev environment now runs on port 8081 instead of 9000 (which was in conflict with the API)