This commit is contained in:
Skylar Grant 2024-09-03 18:22:33 -04:00
parent 786b76a868
commit 6cb9731f06

View File

@ -1,5 +1,5 @@
document.addEventListener("DOMContentLoaded", () => {
fetch('idle-bgs/bgs.json')
fetch('/src/backgrounds/bgs.json')
.then(response => response.json())
.then(images => {
const randomImage = images[Math.floor(Math.random() * images.length)];