diff --git a/frontend/src/routes/(app)/backup-restore/+page.svelte b/frontend/src/routes/(app)/backup-restore/+page.svelte index 7f0e035bb..404c54d86 100644 --- a/frontend/src/routes/(app)/backup-restore/+page.svelte +++ b/frontend/src/routes/(app)/backup-restore/+page.svelte @@ -3,7 +3,7 @@ import { page } from '$app/stores'; import * as m from '$paraglide/messages'; - const authorizedExtensions = ['.json', '.gzip']; + const authorizedExtensions = ['.json', '.gz']; import { getModalStore, type ModalSettings } from '@skeletonlabs/skeleton'; const modalStore = getModalStore(); diff --git a/frontend/src/routes/(app)/backup-restore/dump-db/+server.ts b/frontend/src/routes/(app)/backup-restore/dump-db/+server.ts index c7e0027b7..1e25b769e 100644 --- a/frontend/src/routes/(app)/backup-restore/dump-db/+server.ts +++ b/frontend/src/routes/(app)/backup-restore/dump-db/+server.ts @@ -10,7 +10,7 @@ export const GET: RequestHandler = async ({ fetch }) => { error(400, 'Error fetching the dump file'); } - const fileName = `ciso-assistant-db-${new Date().toISOString()}.gzip`; + const fileName = `ciso-assistant-db-${new Date().toISOString()}.json.gz`; return new Response(await res.blob(), { headers: {