fix: add missing MAX_REVISIONS config default to prevent player page 500
This commit is contained in:
parent
2ac99fde8b
commit
41ca43b9c2
1 changed files with 3 additions and 0 deletions
|
|
@ -50,6 +50,9 @@ class Config:
|
||||||
# Public HTTPS URL used in customer emails and QR codes.
|
# Public HTTPS URL used in customer emails and QR codes.
|
||||||
PUBLIC_BASE_URL = os.environ.get('PUBLIC_BASE_URL', 'http://127.0.0.1:5000')
|
PUBLIC_BASE_URL = os.environ.get('PUBLIC_BASE_URL', 'http://127.0.0.1:5000')
|
||||||
|
|
||||||
|
# Default customer revision limit if not overridden in runtime settings.
|
||||||
|
MAX_REVISIONS = int(os.environ.get('MAX_REVISIONS', '2'))
|
||||||
|
|
||||||
# Booth name used in customer-facing text and email sign-offs.
|
# Booth name used in customer-facing text and email sign-offs.
|
||||||
BOOTH_NAME = os.environ.get('BOOTH_NAME', 'Trollgorithm Theme Songs')
|
BOOTH_NAME = os.environ.get('BOOTH_NAME', 'Trollgorithm Theme Songs')
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue