Skip to content

Modify filetype service to accept more generic mimetypes

rinpatch requested to merge rinpatch/pleroma-fe:file-type-service-fix into develop

The problem with current regex is that ogg files can now contain videos too. Moreover when media proxy is merged mimetypes will be handeled by MIME library which supports a lot more mimetypes for video than just webm/mp4.

Edited by rinpatch

Merge request reports