Commit a252d7c5 authored by Katarína Sieklová's avatar Katarína Sieklová
Browse files

fix: change audiofile path

parent a10347be
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ export const useAudioFiles = (endIndex: number, chapter: string): string[] => {

    const audioFiles: string[] = [];
    for (let i = 1; i <= endIndex; i++) {
        const filePath = `/sounds/${chapter}/${language}_${chapter}_${i}.mp3`;
        const filePath = `public/sounds/${chapter}/${language}_${chapter}_${i}.mp3`;
        audioFiles.push(filePath);
    }
    return audioFiles;