Fix failure to serve media from custom upload path

This commit is contained in:
RX14 2018-04-05 11:46:33 +01:00
commit 033771d9f1
No known key found for this signature in database
GPG key ID: CEF2BBFE18BD0E67
2 changed files with 2 additions and 2 deletions

View file

@ -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