mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 08:54:19 +00:00
Stop download
This commit is contained in:
parent
8142eee840
commit
40dfac8ff8
1 changed files with 2 additions and 2 deletions
|
|
@ -159,7 +159,7 @@ function App() {
|
||||||
const reader = new FileReader();
|
const reader = new FileReader();
|
||||||
|
|
||||||
cleanUp();
|
cleanUp();
|
||||||
downloadRecord(blob);
|
// downloadRecording(blob);
|
||||||
|
|
||||||
reader.readAsArrayBuffer(blob);
|
reader.readAsArrayBuffer(blob);
|
||||||
reader.onload = (event) => {
|
reader.onload = (event) => {
|
||||||
|
|
@ -194,7 +194,7 @@ function App() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function downloadRecord(blob) {
|
function downloadRecording(blob) {
|
||||||
const blobUrl = URL.createObjectURL(blob);
|
const blobUrl = URL.createObjectURL(blob);
|
||||||
|
|
||||||
// Create a download link
|
// Create a download link
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue