mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-02 11:57:04 +08:00
feature (add): form file
This commit is contained in:
@ -22,11 +22,13 @@ export function opener(file){
|
||||
return 'editor';
|
||||
}else if(['audio/wav', 'audio/mp3', 'audio/flac', 'audio/ogg'].indexOf(mime) !== -1){
|
||||
return 'audio';
|
||||
}else if(mime === "application/x-form"){
|
||||
return 'form';
|
||||
}else if(mime.split('/')[0] === 'video' || mime === "application/ogg"){
|
||||
return 'video';
|
||||
}else if(mime.split('/')[0] === "application")
|
||||
}else if(mime.split('/')[0] === "application"){
|
||||
return 'download';
|
||||
else{
|
||||
}else{
|
||||
return 'editor';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user