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

Closed
@rusdiy

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

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