Add zip previewer
This commit is contained in:
@@ -37,6 +37,8 @@ export const file_set_href = file => {
|
||||
export const file_type = file => {
|
||||
if (file.mime_type === "application/bittorrent" || file.mime_type === "application/x-bittorrent") {
|
||||
return "torrent"
|
||||
} else if (file.mime_type === "application/zip") {
|
||||
return "zip"
|
||||
} else if (file.mime_type.startsWith("image")) {
|
||||
return "image"
|
||||
} else if (
|
||||
|
Reference in New Issue
Block a user