Merge pull request #740 from overleaf/msm-expose-env-var-pdf-optimisation

added 'OPTIMISE_PDF' environment variable
This commit is contained in:
Miguel Serrano 2020-05-20 20:26:44 +02:00 committed by GitHub
commit e2f6f670ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -93,6 +93,8 @@ ENV WEB_API_USER "sharelatex"
ENV SHARELATEX_APP_NAME "Overleaf Community Edition"
ENV OPTIMISE_PDF "true"
EXPOSE 80

View file

@ -22,6 +22,9 @@ TMP_DIR = '/var/lib/sharelatex/tmp'
settings =
clsi:
optimiseInDocker: process.env['OPTIMISE_PDF'] == 'true'
brandPrefix: ""
allowAnonymousReadAndWriteSharing: