mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02:00
Make max doc length configurable via an env variable
This commit is contained in:
@@ -22,7 +22,7 @@ const Settings = {
|
||||
}
|
||||
},
|
||||
|
||||
max_doc_length: 2 * 1024 * 1024 // 2mb
|
||||
max_doc_length: parseInt(process.env.MAX_DOC_LENGTH) || 2 * 1024 * 1024 // 2mb
|
||||
}
|
||||
|
||||
if (process.env.MONGO_CONNECTION_STRING != null) {
|
||||
|
||||
Reference in New Issue
Block a user