Skip to content

Commit dc8719f

Browse files
author
Parsa Azari
committed
Fix script references in index.html for proper Vite building
1 parent 1f62111 commit dc8719f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ <h3>An error occurred</h3>
337337
}
338338
};
339339
</script>
340-
<script type="module" crossorigin src="./assets/main--Lyvc13D.js"></script>
341-
<link rel="stylesheet" crossorigin href="./assets/main-Bj5OZTad.css">
340+
<script type="module" src="/src/main.js"></script>
341+
<!-- CSS is imported in the JS file, so we don't need a separate link -->
342342
</head>
343343
<body>
344344
<div id="app-container">

0 commit comments

Comments
 (0)