fix: also loading peaks
parent
e21c29cb02
commit
65a20824a8
|
@ -204,7 +204,7 @@
|
|||
});
|
||||
|
||||
try {
|
||||
const peaksReq = await fetch(`${API_URL}/thumb/${address}?type=json`);
|
||||
const peaksReq = await fetch(`${API_URL}/thumb/${address}?mime=audio&type=json`);
|
||||
const peaks = await peaksReq.json();
|
||||
wavesurfer.load(`${API_URL}/raw/${address}`, peaks.data);
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in New Issue