Unblock pkg uploading in admin web
This commit is contained in:
parent
e4d5fccdf5
commit
38388d2afb
|
|
@ -52,7 +52,7 @@ class ArtifactUploader < CarrierWave::Uploader::Base
|
|||
# Add a white list of extensions which are allowed to be uploaded.
|
||||
# For images you might use something like this:
|
||||
def extension_white_list
|
||||
%w(exe msi dmg zip)
|
||||
%w(exe msi dmg zip pkg)
|
||||
end
|
||||
|
||||
# Override the filename of the uploaded files:
|
||||
|
|
|
|||
Loading…
Reference in New Issue