Render shell scripts as text files
This commit is contained in:
@@ -61,6 +61,7 @@ export const file_type = file => {
|
|||||||
return "pdf"
|
return "pdf"
|
||||||
} else if (
|
} else if (
|
||||||
file.mime_type === "application/json" ||
|
file.mime_type === "application/json" ||
|
||||||
|
file.mime_type === "application/x-shellscript" ||
|
||||||
file.mime_type.startsWith("text")
|
file.mime_type.startsWith("text")
|
||||||
) {
|
) {
|
||||||
return "text"
|
return "text"
|
||||||
|
Reference in New Issue
Block a user