From 6d38a5abc1523706a2b2b04380243f910a0c7794 Mon Sep 17 00:00:00 2001 From: ansuz <ansuz@transitiontech.ca> Date: Mon, 22 May 2017 16:49:50 +0200 Subject: [PATCH] add new variables to example config --- config.example.js | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/config.example.js b/config.example.js index a91c384bd..fe3f2fb91 100644 --- a/config.example.js +++ b/config.example.js @@ -197,7 +197,7 @@ module.exports = { /* Setting this value to anything other than true will cause file upload * attempts to be rejected outright. */ - enableUploads: true, + enableUploads: false, /* If you have enabled file upload, you have the option of restricting it * to a list of users identified by their public keys. If this value is set @@ -209,7 +209,19 @@ module.exports = { * This is a temporary measure until a better quota system is in place. * registered users' public keys can be found on the settings page. */ - restrictUploads: true, + //restrictUploads: false, + + /* Default user storage limit (bytes) + * if you don't want to limit users, + * you can set this to the size of your hard disk + */ + defaultStorageLimit: 50 * 1024 * 1024, + + /* Max Upload Size (bytes) + * this sets the maximum size of any one file uploaded to the server. + * anything larger than this size will be rejected + */ + maxUploadSize: 20 * 1024 * 1024, /* clients can use the /settings/ app to opt out of usage feedback * which informs the server of things like how much each app is being