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).
See original GitHub issueRecently, 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
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@archmoj v2.6.0 went above 100 MB, which is currently our default limit for the cdn.
Hi, Martin from jsDelivr here. We removed the size limit for that package so it should load now.