diff --git a/src/util/notifications.ts b/src/util/notifications.ts index f31ef5181..985b48422 100644 --- a/src/util/notifications.ts +++ b/src/util/notifications.ts @@ -96,7 +96,7 @@ async function playSound(id: number) { const volume = notificationSoundVolume / 10; if (volume === 0) return; - const audio = new Audio('/notification.mp3'); + const audio = new Audio('./notification.mp3'); audio.volume = volume; audio.setAttribute('mozaudiochannel', 'notification'); audio.addEventListener('ended', () => {