mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: subfolder support for S3 CDN
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user