debian-mirror-gitlab/app/uploaders/import_export_uploader.rb
2019-07-31 17:26:46 +00:00

13 lines
222 B
Ruby

# frozen_string_literal: true
class ImportExportUploader < AttachmentUploader
EXTENSION_WHITELIST = %w[tar.gz gz].freeze
def extension_whitelist
EXTENSION_WHITELIST
end
def move_to_cache
false
end
end