How to add proxy for ember built code?

+1 vote
asked Mar 16, 2016 by baldomero (670 points)
Is there way to add proxy for build code. I want to deploy my code to server which needs to be pointed to another API server, now it is making cross domain issue regardless of environments.

5 Answers

–1 vote
answered May 22, 2016 by Poissonnier (810 points)
Best answer
And I found a very decent one on Apache Cordova
0 votes
answered Apr 12, 2016 by Svy_9774_sh (980 points)

Start by creating a proxy.
D is the IP address of the virtual host and example.
commented Apr 14, 2016 by Bs_3291 (690 points)
This also works fine
0 votes
answered May 12, 2016 by Garner2850 (160 points)
And I found a very decent one on Apache Cordova
commented May 14, 2016 by uni_This (150 points)
I hope that this help
0 votes
answered May 25, 2016 by itDiann (140 points)
I think this function will take care of all the issues related to this problem
Visit this page ember: How to add proxy for ember built code? - and click on button to allow access
0 votes
answered Jun 2, 2016 by jvyand (240 points)
Please refer to this zipfworks/ember-prerender GitHub which explains what you can do with command output
So use this solution at your own risk

Related questions

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!