Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use original request if the reroute fails #66

Open
jonathandsouza opened this issue May 24, 2017 · 1 comment
Open

Use original request if the reroute fails #66

jonathandsouza opened this issue May 24, 2017 · 1 comment

Comments

@jonathandsouza
Copy link

Hi ,

Is there a way to configure angular-apimock to use the original request if the reroute fails. I believe in the current implementation its possible to do the opposite (i.e try the original request, if it fails then it tries to recover with a reroute) by setting apimock=auto.

Thanks & Regards

@seriema
Copy link
Owner

seriema commented May 30, 2017

You're right, it's possible to do the opposite of what you want. I'll consider it, but it might take a while. I'd gladly appreciate a PR if you want to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants