Fix failure to serve media from custom upload path
This commit is contained in:
parent
d70d1c427a
commit
033771d9f1
2 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ defmodule Pleroma.Upload do
|
|||
}
|
||||
end
|
||||
|
||||
defp upload_path do
|
||||
def upload_path do
|
||||
settings = Application.get_env(:pleroma, Pleroma.Upload)
|
||||
Keyword.fetch!(settings, :uploads)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue