Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fixing the pdf downloader in offline mode (#2743)

Nyndowea63ae6e729e
diff --git a/src/utils/file.ts b/src/utils/file.ts
index 9e19f7b25..d360331e2 100644
--- a/src/utils/file.ts
+++ b/src/utils/file.ts
@@ -30,7 +30,7 @@ export function downloadWithAnchor(blob: Blob, filename: string) {
a.click();
document.body.removeChild(a);
- setTimeout(() => URL.revokeObjectURL(url), 500);
+ setTimeout(() => URL.revokeObjectURL(url), 5000);
}
export async function downloadFromUrl(url: string, filename: string) {