mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Allow setting documentMaxLength via CMD_DOCUMENT_MAX_LENGTH
Signed-off-by: Jordi Mallach <jordi@igalia.com>
This commit is contained in:
parent
9c0411e628
commit
9bda8f2180
3 changed files with 23 additions and 21 deletions
|
@ -47,6 +47,7 @@ module.exports = {
|
|||
sessionSecret: process.env.CMD_SESSION_SECRET,
|
||||
sessionLife: toIntegerConfig(process.env.CMD_SESSION_LIFE),
|
||||
tooBusyLag: toIntegerConfig(process.env.CMD_TOOBUSY_LAG),
|
||||
documentMaxLength: toIntegerConfig(process.env.CMD_DOCUMENT_MAX_LENGTH),
|
||||
imageUploadType: process.env.CMD_IMAGE_UPLOAD_TYPE,
|
||||
imgur: {
|
||||
clientID: process.env.CMD_IMGUR_CLIENTID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue