Skip to content
Snippets Groups Projects
Commit 75ec1f92 authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

deleted - echo '/* /index.html 200' > public/_redirects

parent d90bb4e5
No related branches found
No related tags found
No related merge requests found
Pipeline #389512 passed
......@@ -32,7 +32,7 @@ pages:
script:
- yarn build
- cp -a dist/. public/
- echo '/* /index.html 200' > public/_redirects
artifacts:
paths:
- public
......
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="" />
</noscript>
</noscript>
</div>`
return(
<InnerHTML html={htmlFile} />
......
......@@ -20,7 +20,7 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src", "mapscript.js"]
"include": ["src", "src/contents/mapscript.js"]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment