Move construction of S3 base URL with optional namespace and bucket to Upload.base_url/0
authorMark Felder <feld@feld.me>
Fri, 8 Jan 2021 23:24:19 +0000 (17:24 -0600)
committerMark Felder <feld@feld.me>
Fri, 8 Jan 2021 23:32:42 +0000 (17:32 -0600)
commite8bf060e6e55396e7a0dbb53dacbf470d8f56beb
tree180dd6d35422f7031b1aca8e2195a148155951b1
parent86dcfb4eb990dc8d06f799663264655ce04d0d5d
Move construction of S3 base URL with optional namespace and bucket to Upload.base_url/0

Now we should have a correct base URL for S3 hosted objects throughout the codebase.
lib/pleroma/upload.ex
lib/pleroma/uploaders/s3.ex