mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Rebranded SHARELATEX_IS_SERVER_PRO env variable
GitOrigin-RevId: 4e728fa7da5ea6b0132452865a3725ef86ed94da
This commit is contained in:
parent
171c05d697
commit
5412e38cb5
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue