Htmlwidgets not displaying on web browsers #2202
-
Dear all, I have written a blog post in .Rmardown , knitted in a .md. I am using HTMLwidgets that I have saved using [widgetframe][https://bhaskarvk.github.io/widgetframe/articles/Using_widgetframe.html] and I am introducing the saved .HTML like this:
Everything seems ok and it's working perfectly well locally. However, when after building my website with Netlify, I have a problem with Firefox and Chrome, as they refuse to show the htmlwidgets. You can see the result here: https://aurelien-goutsmedt.com/post/exploring-stagflation/ Best, Aurélien |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It appears that apparently the custom header |
Beta Was this translation helpful? Give feedback.
It appears that apparently the custom header
X-Frame-Options: SAMEORIGIN
had to be put in netlify.toml and not in config.toml. Problem solved.My mistake!