Skip to content

Commit

Permalink
[New #151] Add script type to meet vite specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
LaChope committed Jan 25, 2024
1 parent 097306b commit 8ee9fe4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Runtime environment variables -->
<script src="/config.js"></script>
<!-- With Vite, type must be text/javascript, see:
https://stackoverflow.com/questions/70617812/change-environmet-variables-at-runtime-react-vite-with-docker-and-nginx-->
<script type="text/javascript" src="/config.js"></script>
<title>FTA/FMEA Analysis</title>
</head>
<body>
Expand Down

0 comments on commit 8ee9fe4

Please sign in to comment.