From 6289af1a5fcb82c74ad52bf6afd6187431a6fa11 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Mon, 18 Oct 2021 01:23:13 +0300 Subject: [PATCH] Notifications: Fix missing sound (#1505) --- src/util/notifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', () => {