FIX: subfolder support for S3 CDN

This commit is contained in:
Neil Lalonde 2018-08-20 10:22:03 -04:00
parent 5ed582551a
commit 0b8f6d3637
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class S3Helper
end
def get_path_for_s3_upload(path)
path = File.join(@s3_bucket_folder_path, path) if @s3_bucket_folder_path
path = File.join(@s3_bucket_folder_path, Discourse.base_uri, path) if @s3_bucket_folder_path
path
end