We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6194b1f commit e7dc980Copy full SHA for e7dc980
app/controllers/api/nextv1/contribution_page_controller.rb
@@ -125,7 +125,7 @@ def image_properties(data)
125
io: File.open(original_image_path),
126
filename: new_filename + extension + ".padded",
127
# remove period from beginning of extension type
128
- content_type: "image/#{extension.tr(".", "")}"
+ content_type: "image/#{extension}"
129
}
130
end
131
0 commit comments