mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Rebranded SHARELATEX_IS_SERVER_PRO env variable
GitOrigin-RevId: 4e728fa7da5ea6b0132452865a3725ef86ed94da
This commit is contained in:
@@ -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' }
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user