Jul 21 - Update uploaded photos location/timestamp
This commit is contained in:
@@ -53,6 +53,11 @@ class Config:
|
||||
# Off by default — cutover is gated on full verification, so objects exist.
|
||||
R2_MEDIA_FALLBACK = os.environ.get('R2_MEDIA_FALLBACK', 'false').lower() == 'true'
|
||||
|
||||
# ── Photo capture-time / geo overlay ────────────────────────────────────
|
||||
# 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.
|
||||
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