Allow video to be uploaded
This commit is contained in:
@@ -11,7 +11,7 @@ module Adamantium
|
|||||||
include Deps["settings"]
|
include Deps["settings"]
|
||||||
include Dry::Monads[:result]
|
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:)
|
def call(file:)
|
||||||
mime = FileMagic.new
|
mime = FileMagic.new
|
||||||
|
Reference in New Issue
Block a user