miragejs / discuss

Ask questions, get help, and share what you've built with Mirage
MIT License
2 stars 0 forks source link

How to only intercept request that defined in routes #56

Closed AlanKnightly closed 3 years ago

AlanKnightly commented 3 years ago

I'd like to import mirage to our project BUT I found that mirage will intercept the WHOLE APP's request and our project can't even run , because i cant even login with our account....

AlanKnightly commented 3 years ago

our project has develop for months and if we import mirage, which block every request to the 3rd host, the app will stop from every action...But we hope to only intercept the route that we starting to dev...WHAT CAN I DO? I didnt find any relative part of limiting the intercept of route T.T

AlanKnightly commented 3 years ago

Sorry, I find the "passthrough" api and figure it out...