Fix __MODULE__ usage
This commit is contained in:
parent
eb4870e1cd
commit
7f78bd7e37
1 changed files with 1 additions and 1 deletions
|
@ -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}")
|
||||
|
||||
|
|
Loading…
Reference in a new issue