Updated config.sample.js

This commit is contained in:
Bobby Wibowo 2018-04-27 10:32:36 +07:00
parent 64b04abbe9
commit 8496e69955
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -121,13 +121,13 @@ module.exports = {
},
/*
Allows users to download a ZIP file of all files in an album.
Allows users to download a .zip file of all files in an album.
The file is generated when the user clicks the download button in the view
and is re-used if the album has not changed between download requests.
If "maxTotalSize" is set (needs to be in MB), generating ZIP file will be disabled
if the total size of all the files in the album exceeds the set limit.
If you have CloudFlare properly caching the zipping API route, it's recommended to
set this to '512MB' as CloudFlare will not cache files bigger than that.
If "maxTotalSize" is set (needs to be in MB), generating .zip file will be disabled
if the total size of all files in an album exceeds the set limit.
If you have Cloudflare properly caching the zipping API route, it's recommended to
set this to '512MB' as Cloudflare will not cache files bigger than that.
*/
generateZips: {
enabled: true,