From 758e2902fc44e6efc27641fa40d0abf26d80a8d2 Mon Sep 17 00:00:00 2001 From: beastbong <79635312+beastbong@users.noreply.github.com> Date: Thu, 4 Nov 2021 22:51:42 +0900 Subject: [PATCH] fixed audio problem modified the audio path , solved audio bug --- src/atoms/description.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/atoms/description.js b/src/atoms/description.js index aca8e75..83cb36d 100644 --- a/src/atoms/description.js +++ b/src/atoms/description.js @@ -311,10 +311,10 @@ export class Description extends LitElement { // Add audio for lols requestAnimationFrame(() => { - playAudio(`../../audio/party.mp3`, 0.2); - playAudio(`../../audio/shot.mp3`, 0.7); + playAudio(`audio/party.mp3`, 0.2); + playAudio(`audio/shot.mp3`, 0.7); setTimeout(() => { - playAudio(`../../audio/paper.mp3`, 0.3); + playAudio(`audio/paper.mp3`, 0.3); }, 150); }); @@ -370,4 +370,4 @@ export class Description extends LitElement { } } -customElements.define("ws-description", Description); \ No newline at end of file +customElements.define("ws-description", Description);