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

Using SC.get('/resolve') returns an error on Firefox #90

Open
jackismissing opened this issue May 11, 2018 · 0 comments
Open

Using SC.get('/resolve') returns an error on Firefox #90

jackismissing opened this issue May 11, 2018 · 0 comments

Comments

@jackismissing
Copy link

(Javascript SDK)

When using SC.get('/resolve', {url: foo}) on FIrefox, a first OPTIONS request is sent which causes the initial call to '/resolve' to return an error in the promise.

A workaround I found was to use SC.resolve(URL) directly, which sets _status_code_map: { 302: 200 } in the request's options.

Maybe this option should be there by default on the SC.get() method as well?

ff

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

No branches or pull requests

1 participant