Apply Upload.base_url for S3
This commit is contained in:
parent
ad79983614
commit
3c936061d5
2 changed files with 11 additions and 6 deletions
|
|
@ -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))
|
||||
])}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue