FIX: subfolder support for S3 CDN
This commit is contained in:
parent
5ed582551a
commit
0b8f6d3637
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue