Skip to content

set the R config variable plotly_domain inside JS as window.PLOTLY_ENV.BASE_URL #333

Closed
@chriddyp

Description

@chriddyp

In plotly.js, we use window.PLOTLY_ENV.BASE_URL (https://github.com/plotly/plotly.js/blob/master/src/plots/plots.js#L370) to determine which cloud to send the graph to. If the user set plotly_domain inside their R ENV, we need to set that in the JS window.PLOTLY_ENV.BASE_URL so that charts don't get sent outside the network.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions