forked from AkkomaGang/akkoma
Provide a non-nil fallback for Upload.base_url/0 for tests using TestUploaderSuccess as the uploader
This commit is contained in:
parent
12528edc34
commit
c35e6fb516
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ def base_url do
|
||||||
end
|
end
|
||||||
|
|
||||||
_ ->
|
_ ->
|
||||||
public_endpoint || upload_base_url
|
public_endpoint || upload_base_url || Pleroma.Web.base_url() <> "/media/"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue