mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Revert "Rename s3 vars, change condition when displaying s3 uploads"
The new variables do not reflect that they represent S3 settings.
This reverts commit 24dfa1b657.
This commit is contained in:
@@ -56,9 +56,9 @@
|
||||
Discourse.HighlightJSPath = <%= HighlightJs.path.inspect.html_safe %>;
|
||||
<%- if SiteSetting.Upload.enable_s3_uploads %>
|
||||
<%- if SiteSetting.Upload.s3_cdn_url.present? %>
|
||||
Discourse.UploadCDN = '<%= SiteSetting.Upload.s3_cdn_url %>';
|
||||
Discourse.S3CDN = '<%= SiteSetting.Upload.s3_cdn_url %>';
|
||||
<%- end %>
|
||||
Discourse.UploadBaseUrl = '<%= SiteSetting.Upload.absolute_base_url %>';
|
||||
Discourse.S3BaseUrl = '<%= SiteSetting.Upload.absolute_base_url %>';
|
||||
<%- end %>
|
||||
})();
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user