mercredi 5 août 2015

How to add proxy for ember built code?

Is there any way to add proxy for build code? I want to deploy my code to a server which needs to be pointed to another API server, now it is making cross domain issue regardless of environments. I don't want to make any cross domain changes in any of the server. And my servers are running in Apache server.

It is working when I'm doing ember server --proxy <server-url>

Is there any way to add proxy inside code which can be used after build also?




Aucun commentaire:

Enregistrer un commentaire