implemented audio fix for neocities

This commit is contained in:
sundae 2025-09-09 18:23:55 +03:00
commit 8d1e1de894
Signed by: sundae
SSH key fingerprint: SHA256:MsJkKuo4PUdjQDpLeaURy81drKkW14exlTHp+8QFu6M
5 changed files with 10 additions and 5 deletions

View file

@ -1,6 +1,7 @@
import { audioPath } from './path.js'
let bob = document.getElementById("bob");
let help = document.createElement("audio");
help.src = "/assets/audio/bob.ogg";
help.src = `${audioPath}bob.ogg`;
help.loop = true;
bob.appendChild(help);
window.addEventListener("load", function () {