-
Notifications
You must be signed in to change notification settings - Fork 439
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
API Passthrough not resolving promise #571
Comments
Mirage: 0.1.11 |
Think this could be related to pretenderjs/pretender#130 . I've dealt with similar behaviour prior, and was able to fix this by upgrading to |
@samselikoff I see Mirage is adding pretender ~0.10.1 to projects in the |
@anulman thanks for the heads up! I was able to get it working on the latest pretender without upgrading jQuery. |
✋ |
Merged the upgrade - thanks for taking care of this yall! |
In my mirage config:
this.passthrough('http://foo.bar/**');
Request: GET
http://foo.bar/me
The request goes out to the live API, but when it returns, the promises don't actually resolve properly. It's like the request just gets swallowed and nothing happens. The code works as-is, it was only when I installed mirage that it stopped resolving. Any thoughts @samselikoff?
The text was updated successfully, but these errors were encountered: