Merge pull request #10016 from overleaf/jpa-status-page-url

[server-ce] settings: read statusPageUrl from environment variable

GitOrigin-RevId: bd9c69d00a065b92c6755137c3f694cd191ab0d1
This commit is contained in:
Jakob Ackermann 2022-10-18 11:41:19 +01:00 committed by Copybot
parent 359158bc86
commit 435575ff9c

View file

@ -206,6 +206,9 @@ const settings = {
// when emails are sent out and in generated links: // when emails are sent out and in generated links:
siteUrl: (siteUrl = process.env.SHARELATEX_SITE_URL || 'http://localhost'), siteUrl: (siteUrl = process.env.SHARELATEX_SITE_URL || 'http://localhost'),
// Status page URL as displayed on the maintenance/500 pages.
statusPageUrl: process.env.SHARELATEX_STATUS_PAGE_URL,
// The name this is used to describe your ShareLaTeX Installation // The name this is used to describe your ShareLaTeX Installation
appName: process.env.SHARELATEX_APP_NAME || 'ShareLaTeX (Community Edition)', appName: process.env.SHARELATEX_APP_NAME || 'ShareLaTeX (Community Edition)',