From 0a7fb22aa893eb848f61f2c74ebf0f7bfd0f4b10 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 1 Apr 2021 11:01:26 +0200 Subject: [PATCH] Update config.js --- conf/config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/conf/config.js b/conf/config.js index 75f1ac9..8ffc643 100644 --- a/conf/config.js +++ b/conf/config.js @@ -45,6 +45,14 @@ module.exports = { * In such a case this should be also handled by NGINX, as documented in * cryptpad/docs/example.nginx.conf (see the $main_domain variable) * + * Note: you may provide multiple origins for the purpose of accessing + * a development instance via different URLs, like so: + * httpUnsafeOrigin: 'http://127.0.0.1:3000/ http://localhost:3000/', + * + * Such configuration is not recommended for production instances, + * as the development team does not actively test such configuration + * and it may have unintended consequences in practice. + * */ httpUnsafeOrigin: 'http://127.0.0.1:__PORT__', @@ -295,6 +303,8 @@ module.exports = { */ blobStagingPath: './data/blobstage', + decreePath: './data/decrees', + /* CryptPad supports logging events directly to the disk in a 'logs' directory * Set its location here, or set it to false (or nothing) if you'd rather not log */