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: ...@@ -32,7 +32,7 @@ pages:
script: script:
- yarn build - yarn build
- cp -a dist/. public/ - cp -a dist/. public/
- echo '/* /index.html 200' > public/_redirects
artifacts: artifacts:
paths: paths:
- public - public
......
import InnerHTML from 'dangerously-set-html-content' import InnerHTML from 'dangerously-set-html-content'
export function Map1(){ export function Map1(){
const htmlFile = `<div style="min-height: 374px"> 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> </script>
<noscript> <noscript>
<img src="https://static.igem.wiki/teams/5247/charts-maps/map1-full.png" alt="" /> <img src="https://static.igem.wiki/teams/5247/charts-maps/map1-full.png" alt="" />
</noscript> </noscript>
</div>` </div>`
return( return(
<InnerHTML html={htmlFile} /> <InnerHTML html={htmlFile} />
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"noUnusedParameters": true, "noUnusedParameters": true,
"noFallthroughCasesInSwitch": 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