aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2018-12-03 00:22:19 +0300
committerrinpatch <rinpatch@sdf.org>2018-12-03 00:22:19 +0300
commita3953ca37ab4122772119ae345705e712e23dd17 (patch)
tree476976f7aac5848a65d674d808d2d3db2f43ac0b
parent8c3ff06e35e11a40cf4eb35a41a2019b7496e62c (diff)
downloadpleroma-a3953ca37ab4122772119ae345705e712e23dd17.tar.gz
Change @read_bytes to 35
-rw-r--r--lib/pleroma/mime.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/mime.ex b/lib/pleroma/mime.ex
index db8b7c742..99063ded6 100644
--- a/lib/pleroma/mime.ex
+++ b/lib/pleroma/mime.ex
@@ -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