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 669ec367d3
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 SHARELATEX_APP_NAME "Overleaf Community Edition"
ENV OPTIMISE_PDF "true"
EXPOSE 80 EXPOSE 80

View file

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