Fixed backup fie name

This commit is contained in:
maziggy
2026-04-18 19:04:31 +02:00
parent 8c4253c5f1
commit 2366a1a0b3
+1 -1
View File
@@ -3606,7 +3606,7 @@ export const api = {
let filename = 'bambuddy-backup.zip';
if (contentDisposition) {
const match = contentDisposition.match(/filename=([^;]+)/);
if (match) filename = match[1].trim();
if (match) filename = match[1].trim().replace(/^"(.*)"$/, '$1');
}
const blob = await response.blob();