Skip to content

Commit

Permalink
refactor: defer script loading
Browse files Browse the repository at this point in the history
  • Loading branch information
bodobraegger committed Oct 19, 2023
1 parent ddc29f2 commit 5094e10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
-->
<link rel="manifest" href="/manifest.json" />
<title></title>
<script>
<script defer>
window.env = {
BACKEND_URL: '${BACKEND_URL}',
};
</script>
<script type="module" src="/src/index.tsx"></script>
<script defer type="module" src="/src/index.tsx"></script>
</head>
<body data-light-theme="light" data-dark-theme="dark" data-color-mode="auto">
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down

0 comments on commit 5094e10

Please sign in to comment.