fix: correct gallery asset paths and update fetch URL

This commit is contained in:
chris 2025-12-08 13:49:21 -05:00
parent 7b3cfb5178
commit 35956d2849
3 changed files with 3 additions and 3 deletions

View File

@ -241,6 +241,6 @@
</div> </div>
</div> </div>
<script src="/build/admin.js" defer></script> <script src="/public/build/admin.js" defer></script>
</body> </body>
</html> </html>

View File

@ -179,6 +179,6 @@
</script> </script>
<script src="../script.js" defer></script> <script src="../script.js" defer></script>
<script src="../update.js" defer></script> <script src="../update.js" defer></script>
<script src="/build/gallery.js" defer></script> <script src="/public/build/gallery.js" defer></script>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@ document.addEventListener('DOMContentLoaded', () => {
} }
} }
fetch('update.json') fetch('/update.json')
.then(response => response.json()) .then(response => response.json())
.then(data => { .then(data => {
const update = data[0]; const update = data[0];