Add configurable max revisions limit with customer counter and operator override
This commit is contained in:
parent
5b6012aa3d
commit
506d07179a
5 changed files with 99 additions and 22 deletions
|
|
@ -47,6 +47,9 @@ class Config:
|
|||
# Optional operator alert email. Currently unused because the dashboard is the queue.
|
||||
ADMIN_ALERT_EMAIL = os.environ.get('ADMIN_ALERT_EMAIL', '')
|
||||
|
||||
# Maximum number of revision rounds a customer is allowed to request automatically.
|
||||
MAX_REVISIONS = int(os.environ.get('MAX_REVISIONS', '2'))
|
||||
|
||||
# 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')
|
||||
|
||||
|
|
|
|||
Reference in a new issue