Skip to content

Commit 2ffe019

Browse files
authored
ui(server): support for decompressing .7z files (pterodactyl#5016)
1 parent 7bfc265 commit 2ffe019

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/scripts/api/transformers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export const rawDataToFileObject = (data: FractalResponseData): FileObject => ({
4040
'application/x-xz', // .tar.xz, .xz
4141
'application/zstd', // .tar.zst, .zst
4242
'application/zip', // .zip
43+
'application/x-7z-compressed', // .7z
4344
].indexOf(this.mimetype) >= 0
4445
);
4546
},

0 commit comments

Comments
 (0)