[misc] optionally expose the hostname in the 'debug.getHostname' rpc

This commit is contained in:
Jakob Ackermann
2020-07-06 14:27:46 +01:00
parent aa9d6c8dc9
commit 9fff03bca5
2 changed files with 18 additions and 0 deletions

View File

@@ -109,6 +109,9 @@ const settings = {
cookieName: process.env.COOKIE_NAME || 'sharelatex.sid',
// Expose the hostname in the `debug.getHostname` rpc
exposeHostname: process.env.EXPOSE_HOSTNAME === 'true',
max_doc_length: 2 * 1024 * 1024, // 2mb
// combine