Render shell scripts as text files

This commit is contained in:
2023-09-29 18:56:16 +02:00
parent 730ceb5b16
commit 9534325d28

View File

@@ -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"