Skip to content

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

Description

@nicodotcomputer

(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions