fix: update script tags to use type="module" for improved compatibility

This commit is contained in:
Simon Larsen 2025-06-10 12:26:54 +01:00
parent 0cc64550c9
commit a579b97584
No known key found for this signature in database
GPG key ID: 96C5DCA24769DBCA
4 changed files with 4 additions and 4 deletions

View file

@ -106,7 +106,7 @@
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/accounts/dist/Index.js"></script>
<script type="module" src="/accounts/dist/Index.js"></script>
<script>
tailwind.config = {
theme: {

View file

@ -100,7 +100,7 @@
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/admin/dist/Index.js"></script>
<script type="module" src="/admin/dist/Index.js"></script>
<script>
tailwind.config = {
theme: {

View file

@ -123,7 +123,7 @@
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/dashboard/dist/Index.js"></script>
<script type="module" src="/dashboard/dist/Index.js"></script>
<script>
tailwind.config = {
theme: {

View file

@ -72,7 +72,7 @@
<% } %>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/status-page/dist/Index.js"></script>
<script type="module" src="/status-page/dist/Index.js"></script>
<script>
tailwind.config = {
theme: {