Fix __MODULE__ usage

This commit is contained in:
Roman Chvanikov 2020-01-28 16:38:44 +03:00
parent eb4870e1cd
commit 7f78bd7e37

View File

@ -73,7 +73,7 @@ def perform(
_ -> ""
end
base_url = Pleroma.Config.get([__MODULE__, :base_url], Pleroma.Web.base_url())
base_url = Pleroma.Config.get([Pleroma.Upload, :base_url], Pleroma.Web.base_url())
file_path = String.trim_leading(href, "#{base_url}/#{prefix}")