From ace263be034955c4717c9aeebe54d2666c96939d Mon Sep 17 00:00:00 2001 From: Bobby Wibowo Date: Tue, 4 Sep 2018 23:11:20 +0700 Subject: [PATCH] Updated config.sample.js This is the new format of the scan option for the previous clamdjs commit. I forgot to include changes to the sample config file. --- config.sample.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config.sample.js b/config.sample.js index 7ae920c..54263b4 100644 --- a/config.sample.js +++ b/config.sample.js @@ -93,9 +93,13 @@ module.exports = { urlMaxSize: '32MB', /* - Scan for virus using ClamAV. + Scan files using ClamAV through clamd. */ - scan: false, + scan: { + enabled: false, + ip: '127.0.0.1', + port: 3310 + }, /* Use DuckDuckGo's proxy when fetching any URL uploads.