diff --git a/frontend/src/util/webAudio.js b/frontend/src/util/webAudio.js index f98b3e873..0aa344dd6 100644 --- a/frontend/src/util/webAudio.js +++ b/frontend/src/util/webAudio.js @@ -74,7 +74,7 @@ export const changeGain = (level) => { // load sound data and store in buffers object export const loadBuffer = async (id, src, canPlay) => { - await fetch(MEDIA_ROOT + src, {}) + await fetch(src, {}) // Return the data as an ArrayBuffer .then(response => response.arrayBuffer()) // Decode the audio data