diff --git a/server-ce/config/settings.js b/server-ce/config/settings.js index ad65a6c1f7..751aacb0d2 100644 --- a/server-ce/config/settings.js +++ b/server-ce/config/settings.js @@ -420,7 +420,7 @@ if ( // Overleaf Server Pro // ###################### -if (parse(process.env.SHARELATEX_IS_SERVER_PRO) === true) { +if (parse(process.env.OVERLEAF_IS_SERVER_PRO) === true) { settings.bypassPercentageRollouts = true settings.apis.references = { url: 'http://localhost:3040' } } diff --git a/server-ce/init_scripts/99_run_web_migrations.sh b/server-ce/init_scripts/99_run_web_migrations.sh index e0546953cc..59b7d23ea0 100755 --- a/server-ce/init_scripts/99_run_web_migrations.sh +++ b/server-ce/init_scripts/99_run_web_migrations.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -euo pipefail -if [[ "${SHARELATEX_IS_SERVER_PRO:-null}" == "true" ]]; then +if [[ "${OVERLEAF_IS_SERVER_PRO:-null}" == "true" ]]; then environment="server-pro" else environment="server-ce"