Make CORS/IE9 work in debug mode
Adapting api url for deploying the branch