This commit is contained in:
The Ghost of FOSS' Past 2024-10-28 11:57:09 -05:00
parent 58dc0dfe1d
commit 9a0293a6e1

View file

@ -33,11 +33,11 @@ document.getElementById('search-button').addEventListener('click', async () => {
//const url = window.URL.createObjectURL(blob);
const a = document.createElement('a');
a.style.display = 'none';
a.href = url;
a.href = downloadResponse;
//a.download = 'video.mp4'; // You might want to set this dynamically
document.body.appendChild(a);
a.click();
window.URL.revokeObjectURL(url);
//a.click();
//window.URL.revokeObjectURL(url);
});
});