Apply Upload.base_url for S3

This commit is contained in:
Mark Felder 2021-01-08 10:49:12 -06:00
commit 3c936061d5
2 changed files with 11 additions and 6 deletions

View file

@ -30,7 +30,7 @@ defmodule Pleroma.Uploaders.S3 do
{:ok,
{:url,
Path.join([
Keyword.fetch!(config, :public_endpoint),
Pleroma.Upload.base_url(),
bucket_with_namespace,
strict_encode(URI.decode(file))
])}}