How can I retreive the --proxy value within ember?


#1

I would like to get this value in my ember services so that I can adjust the ajax URL’s myself. I don’t have a clue where I could find this value, it must be stored somewhere.


#2

I think that’s not a good way. But you can access Config https://guides.emberjs.com/v2.10.0/configuring-ember/configuring-your-app/#toc-toggle just importing it. Try other solutions before it. ( proxy pass )


#3

@heatbr Config doesn’t contain the value of --proxy.

Anyone see another possibility?