skip to Main Content

Html – My React website works as intendet on the developement server but not on the real website – where do I have to look for the reason?

I want to embed a datawrapper map like this: import InnerHTML from 'dangerously-set-html-content' export function Map1(){ const htmlFile = `<div style="min-height: 374px"> <script type="text/javascript" defer src="src/utils/mapscript.js" charset="utf-8"> </script> <noscript> <img src="https://static.igem.wiki/teams/5247/charts-maps/map1-full.png" alt="" /> </noscript> </div>` return( <InnerHTML html={htmlFile} /> )…

VIEW QUESTION
Back To Top
Search