Fix __MODULE__ usage
This commit is contained in:
parent
eb4870e1cd
commit
7f78bd7e37
@ -73,7 +73,7 @@ defmodule Pleroma.Workers.AttachmentsCleanupWorker do
|
||||
_ -> ""
|
||||
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 New Issue
Block a user