parent
eae999e178
commit
733ea821ae
@ -0,0 +1,15 @@ |
||||
module OpenProject::Bim::Patches::FogFileUploaderPatch |
||||
def self.included(base) # :nodoc: |
||||
base.prepend InstanceMethods |
||||
end |
||||
|
||||
module InstanceMethods |
||||
def fog_attributes |
||||
return super unless path.ends_with?(".bcf") |
||||
|
||||
{ |
||||
"Content-Type" => "application/octet-stream" |
||||
} |
||||
end |
||||
end |
||||
end |
Loading…
Reference in new issue