Closed Equim-chan closed 1 year ago
Some machines don't have /etc/mime.types installed by default, making mime.TypeByExtension likely to fallback to blob on most files and therefore will be shown as insert_drive_file in the frontend.
/etc/mime.types
mime.TypeByExtension
blob
insert_drive_file
https://github.com/filebrowser/filebrowser/blob/6e1c6a4a8cb1fecfeddf10ada67618c90912336d/file.go#L214
See mime.TypeByExtension.
Related: #376
Some machines don't have
/etc/mime.types
installed by default, makingmime.TypeByExtension
likely to fallback toblob
on most files and therefore will be shown asinsert_drive_file
in the frontend.https://github.com/filebrowser/filebrowser/blob/6e1c6a4a8cb1fecfeddf10ada67618c90912336d/file.go#L214
See mime.TypeByExtension.
Related: #376