mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 00:09:35 +00:00
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 a new issue