projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c3ff06
)
Change @read_bytes to 35
author
rinpatch
<rinpatch@sdf.org>
Sun, 2 Dec 2018 21:22:19 +0000
(
00:22
+0300)
committer
rinpatch
<rinpatch@sdf.org>
Sun, 2 Dec 2018 21:22:19 +0000
(
00:22
+0300)
lib/pleroma/mime.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/mime.ex
b/lib/pleroma/mime.ex
index db8b7c742131035244ca2145ebc46953469c3591..99063ded6780b4583909f7fd06378076c500ddd8 100644
(file)
--- 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 3
1
+ @read_bytes 3
5
@spec file_mime_type(String.t()) ::
{:ok, content_type :: String.t(), filename :: String.t()} | {:error, any()} | :error