A platform for community discussion. Free, open, simple.
FIX: subfolder support for S3 CDN
Neil Lalonde0b8f6d363746
diff --git a/lib/s3_helper.rb b/lib/s3_helper.rbindex cf814912922..eced3e23d34 100644--- a/lib/s3_helper.rb+++ b/lib/s3_helper.rb@@ -182,7 +182,7 @@ class S3Helperenddef 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_pathpathend