lib/spaceship/du/utilities.rb in spaceship-0.27.1 vs lib/spaceship/du/utilities.rb in spaceship-0.27.2

- old
+ new

@@ -8,9 +8,10 @@ # Supports all formats required by DU-UTC right now (video, images and json) # @param path (String) the path to the file def content_type(path) path = path.downcase return 'image/jpeg' if path.end_with?('.jpg') + return 'image/jpeg' if path.end_with?('.jpeg') return 'image/png' if path.end_with?('.png') return 'application/json' if path.end_with?('.geojson') return 'video/quicktime' if path.end_with?('.mov') return 'video/mp4' if path.end_with?('.m4v') return 'video/mp4' if path.end_with?('.mp4')