feat(ClamAV): add config to disable clamav usage

This commit is contained in:
Jon 2022-01-28 16:20:11 +01:00 committed by Pierre de La Morinerie
parent 628625366b
commit 97feca6305
4 changed files with 54 additions and 21 deletions

View file

@ -76,5 +76,9 @@ module TPS
}
config.skylight.probes += [:graphql]
# Custom Configuration
# @see https://guides.rubyonrails.org/configuring.html#custom-configuration
config.x.clamav.enabled = ENV.fetch("CLAMAV_ENABLED", "enabled") == "enabled"
end
end