Jul 29 - Photo stamping files
This commit is contained in:
@@ -80,6 +80,14 @@ class Config:
|
||||
# full verification, so objects exist.
|
||||
R2_MEDIA_FALLBACK = os.environ.get('R2_MEDIA_FALLBACK', 'false').lower() == 'true'
|
||||
|
||||
# ── Photo capture-time / geo overlay (MT-12) ────────────────────────────
|
||||
# When true (default), POST /api/v1/photos/upload burns a timestamp + GPS
|
||||
# bar into the image before storing it. Set false to store raw uploads.
|
||||
# Global, not per-tenant: the overlay is evidence provenance, which every
|
||||
# tenant wants and none should be able to switch off from the UI. Promote to
|
||||
# a TenantSettings column only if a tenant ever has a real reason to opt out.
|
||||
PHOTO_STAMP_ENABLED = os.environ.get('PHOTO_STAMP_ENABLED', 'true').lower() == 'true'
|
||||
|
||||
# ── Session / cookies ───────────────────────────────────────────────────
|
||||
PERMANENT_SESSION_LIFETIME = timedelta(hours=24)
|
||||
# Secure by default — subclasses must explicitly opt out for local dev.
|
||||
|
||||
Reference in New Issue
Block a user