From 2ffe01967553415ae5c9c48f44bcb6f4bb6ea170 Mon Sep 17 00:00:00 2001 From: Daniel Barton Date: Sun, 5 May 2024 07:16:00 +0800 Subject: [PATCH] ui(server): support for decompressing .7z files (#5016) --- resources/scripts/api/transformers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/scripts/api/transformers.ts b/resources/scripts/api/transformers.ts index f2bea86d0..602ac217d 100644 --- a/resources/scripts/api/transformers.ts +++ b/resources/scripts/api/transformers.ts @@ -40,6 +40,7 @@ export const rawDataToFileObject = (data: FractalResponseData): FileObject => ({ 'application/x-xz', // .tar.xz, .xz 'application/zstd', // .tar.zst, .zst 'application/zip', // .zip + 'application/x-7z-compressed', // .7z ].indexOf(this.mimetype) >= 0 ); },