mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-25 02:22:36 +01:00
ui(server): support for decompressing .7z files (#5016)
This commit is contained in:
parent
7bfc265a7e
commit
2ffe019675
@ -40,6 +40,7 @@ export const rawDataToFileObject = (data: FractalResponseData): FileObject => ({
|
|||||||
'application/x-xz', // .tar.xz, .xz
|
'application/x-xz', // .tar.xz, .xz
|
||||||
'application/zstd', // .tar.zst, .zst
|
'application/zstd', // .tar.zst, .zst
|
||||||
'application/zip', // .zip
|
'application/zip', // .zip
|
||||||
|
'application/x-7z-compressed', // .7z
|
||||||
].indexOf(this.mimetype) >= 0
|
].indexOf(this.mimetype) >= 0
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user