From 1fefb4ca7e5506131fa9a323484d470ea63cc541 Mon Sep 17 00:00:00 2001 From: adueck Date: Mon, 4 Dec 2023 21:05:25 +0400 Subject: [PATCH] update audio storage path --- website/src/components/PlayStorageAudio.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/components/PlayStorageAudio.tsx b/website/src/components/PlayStorageAudio.tsx index af1fd61..30d696f 100644 --- a/website/src/components/PlayStorageAudio.tsx +++ b/website/src/components/PlayStorageAudio.tsx @@ -1,6 +1,6 @@ export default function playStorageAudio(ts: number, callback: () => void) { if (!ts) return; - let audio = new Audio(`https://storage.lingdocs.com/${ts}.mp3`); + let audio = new Audio(`https://storage.lingdocs.com/audio/${ts}.mp3`); audio.addEventListener("ended", () => { callback(); audio.remove();