fixed feature to upload sound files

This commit is contained in:
2025-10-20 16:17:37 +01:00
parent 0a3a543d6f
commit 1ffad51503
5 changed files with 17 additions and 2 deletions

View File

@@ -21,6 +21,10 @@ export function getSoundFileURL(name: string) {
return sounds[name] ?? null;
}
export const showSoundURL = (url: URL | string | undefined) => {
console.log(url);
};
const randomChars = () => {
const uppercaseAsciiStart = 65;
const letterIndex = Math.floor(Math.random() * 26);