From 7a699c6a86834428be417d42e5fed28f7957ebe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 24 May 2024 09:00:10 +0200 Subject: [PATCH] Update config.js --- conf/config.js | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/conf/config.js b/conf/config.js index 3d12ebd..21d81cd 100644 --- a/conf/config.js +++ b/conf/config.js @@ -107,7 +107,7 @@ module.exports = { * to this port. * */ - // websocketPort: 3003, + // websocketPort: __SOCKET_PORT__, /* CryptPad will launch a child process for every core available * in order to perform CPU-intensive tasks in parallel. @@ -139,6 +139,21 @@ module.exports = { */ //enforceMFA: false, + /* ===================== + * Privacy + * ===================== */ + + /* Depending on where your instance is hosted, you may be required to log IP + * addresses of the users who make a change to a document. This setting allows you + * to do so. You can configure the logging system below in this config file. + * Setting this value to true will include a log for each websocket connection + * including this connection's unique ID, the user public key and the IP. + * NOTE: this option requires a log level of "info" or below. + * + * defaults to false + */ + //logIP: false, + /* ===================== * Admin * ===================== */ @@ -155,7 +170,6 @@ module.exports = { * ] * */ - adminKeys: [ ],