fix: load audio thmb

This commit is contained in:
Boris Cherepanov
2026-04-02 00:29:21 +03:00
parent 83a145d0a8
commit 480880f292
2 changed files with 35 additions and 25 deletions
+1 -1
View File
@@ -44,6 +44,6 @@ export async function getTrackInfo(trackSlug: string): Promise<TrackDetail | nul
}
export async function preloadStream(trackSlug: string) {
await furumiApi.get(`/stream/${trackSlug}`, { responseType: 'arraybuffer' }).catch(() => null)
return await furumiApi.get(`/stream/${trackSlug}`, { responseType: 'blob' }).catch(() => null)
}