diff --git a/src/components/Map1.tsx b/src/components/Map1.tsx index 3606e2b17049e33276cd6a81a2de602fcd1857ff..19e221b226778b0400fc665757b109a7fb1669ac 100644 --- a/src/components/Map1.tsx +++ b/src/components/Map1.tsx @@ -1,7 +1,7 @@ import InnerHTML from 'dangerously-set-html-content' export function Map1(){ const htmlFile = `<div style="min-height: 374px"> - <script type="text/javascript" defer src="./mapscript.js" charset="utf-8"> + <script type="text/javascript" defer src="/mapscript.js" charset="utf-8"> </script> <noscript> <img src="https://static.igem.wiki/teams/5247/charts-maps/map1-full.png" alt="" />