Skip to content

Sandbox issue #2

@wszczepaniak

Description

@wszczepaniak

The links to the scripts and css are hardcoded into the component.
And they are not configurable between sandbox and prod, but they should be.
If we want to test the widget on sandbox, but we load the script from prod domain, we get unauthorized response from the api even if we use sandbox token.

So I had to modify your component for my use case and do a little switch for the script source depending on the sandbox parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions