04/16 Updated with domain settings in .env file

This commit is contained in:
2026-04-16 13:11:28 -04:00
parent 7bee3bfedc
commit 03c9ca088c
3 changed files with 45 additions and 15 deletions
+5
View File
@@ -60,6 +60,11 @@ class Config:
# ------------------------------------------------------------------ #
COMPANY_NAME = os.environ.get('COMPANY_NAME', 'QR Code Management System')
CONTRACT_NAME = os.environ.get('CONTRACT_NAME', 'Default Contract')
# Public-facing base URL used when constructing QR code destination links.
# Set this to your domain with no trailing slash, e.g.:
# QR_BASE_URL=https://qr.govservicesinc.com
# This prevents doubled-hostname issues when running behind a reverse proxy.
QR_BASE_URL = os.environ.get('QR_BASE_URL', '').rstrip('/')
# ------------------------------------------------------------------ #
# File uploads