mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
make cookies configurable via env vars
This commit is contained in:
parent
bbc11ae1b5
commit
ca2af0af32
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ module.exports =
|
|||
url: "http://#{process.env['DOCUMENT_UPDATER_HOST'] or process.env['DOCUPDATER_HOST'] or "localhost"}:3003"
|
||||
|
||||
security:
|
||||
sessionSecret: "secret-please-change"
|
||||
sessionSecret: process.env['SESSION_SECRET'] or "secret-please-change"
|
||||
|
||||
cookieName: "sharelatex.sid"
|
||||
cookieName: process.env['COOKIE_NAME'] or "sharelatex.sid"
|
||||
|
||||
max_doc_length: 2 * 1024 * 1024 # 2mb
|
Loading…
Reference in a new issue