Commit 6786ad3d authored by lain's avatar lain
Browse files

Merge branch 'fix/theora-detection-read-bytes' into 'develop'

Fix Theora detection in mime.ex

See merge request !493
parents 0554d91d 343b0adf
Pipeline #5172 canceled with stages
......@@ -3,7 +3,7 @@ defmodule Pleroma.MIME do
Returns the mime-type of a binary and optionally a normalized file-name.
@default "application/octet-stream"
@read_bytes 31
@read_bytes 35
@spec file_mime_type(String.t()) ::
{:ok, content_type :: String.t(), filename :: String.t()} | {:error, any()} | :error
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment