diff --git a/.gitignore b/.gitignore index 2531b6b..ca1646b 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ cavecomm example.crt example.key .idea/ +log.txt diff --git a/setupdb.sh b/setupdb.sh old mode 100755 new mode 100644 diff --git a/spec/spec.md b/spec/spec.md index 07f50be..2a12b87 100644 --- a/spec/spec.md +++ b/spec/spec.md @@ -243,6 +243,7 @@ mandatory: emailServerAddress databaseConnectionString={postgresql://{user}:{password}@{host}:{port}/{database}} domain + submissionFileRootPath Path to a folder in which the freelancer submissions are stored Optional if CROW_ENABLE_SSL not defined sslCrtPath= diff --git a/src/default-cavecomm.conf b/src/default-cavecomm.conf index 2d6f694..2022eec 100644 --- a/src/default-cavecomm.conf +++ b/src/default-cavecomm.conf @@ -8,6 +8,7 @@ # emailPassword= # emailServerAddress= # domain= +# submissionFileRootPath= # Optional if CROW_ENABLE_SSL not defined # sslCrtPath= @@ -51,6 +52,7 @@ itemsPerPage=5; bruteForceMitigationLockSeconds=900; bruteForceMitigationAttempts=5; +submissionFileRootPath=./submissions; submissionMaxFileSizeMB=8; submissionMaxtotalStorageMB=16; submissionMaxStorageDurationH=24;