diff --git a/web/src/lib/download.ts b/web/src/lib/download.ts index 393b8e82..bce6cfa2 100644 --- a/web/src/lib/download.ts +++ b/web/src/lib/download.ts @@ -42,7 +42,7 @@ export const openFile = (file: File) => { a.href = url; a.download = file.name; a.click(); - URL.revokeObjectURL(url); + setTimeout(() => URL.revokeObjectURL(url), 10_000); } export const shareFile = async (file: File) => {