feat(ClamAV): add config to disable clamav usage
This commit is contained in:
parent
628625366b
commit
97feca6305
4 changed files with 54 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue