@sim085 wrote:
I have written a small application which makes use of mirage to simulate api calls. Everything works fine but I would like to now call the “real” api service I have and not the stub created with mirage.
What I did is add the host to JSONAPIAdapter (mine can be found in \adapters\application.js) to point to my api service. However when I run the application I get the error message “Mirage: Your Ember app tried to GET…”. This looks like ember is still trying to get the data through mirage instead of my API service.
How can I bypass mirage and call my API implementation?
Posts: 2
Participants: 2