Skip to content

The resource from “https://cdn.jsdelivr.net/npm/plotly.js/dist/plotly.min.js” was blocked due to MIME type (“text/plain”) mismatch (X-Content-Type-Options: nosniff). #3448

Description

@rusdiy

Recently, I get this error when using plotly in html. But weirdly enough, it does not happened in all device/browser.
I use this code to embed the html inside my web program:
html = fig.to_html(include_plotlyjs="require", full_html=False, config=config)
Image of the Console Error
Plotly Error

Activity

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

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