Allow video to be uploaded

This commit is contained in:
2023-02-19 16:49:49 +11:00
parent 4495a715f1
commit 9b4fd437cd

View File

@@ -11,7 +11,7 @@ module Adamantium
include Deps["settings"]
include Dry::Monads[:result]
VALID_UPLOAD_TYPES = %i[jpeg jpg png gif mp4]
VALID_UPLOAD_TYPES = %i[jpeg jpg png gif mp4 iso]
def call(file:)
mime = FileMagic.new