Enable public uploads and chunking by default
This commit is contained in:
@@ -5,8 +5,8 @@ MAX_CONCURRENT=3
|
||||
ADMIN_PASSWORD=test123
|
||||
TIMEZONE=America/Edmonton
|
||||
|
||||
# Public uploader page (optional) — disabled by default
|
||||
PUBLIC_UPLOAD_PAGE_ENABLED=false
|
||||
# Public uploader page (optional)
|
||||
PUBLIC_UPLOAD_PAGE_ENABLED=true
|
||||
|
||||
# Local dedupe cache (SQLite)
|
||||
STATE_DB=./data/state.db
|
||||
@@ -20,8 +20,8 @@ LOG_LEVEL=INFO
|
||||
# Chunked uploads (to work around 100MB proxy limits)
|
||||
# Enable to send files in chunks from browser to this service
|
||||
# Recommended chunk size for Cloudflare Tunnel is <= 95MB.
|
||||
CHUNKED_UPLOADS_ENABLED=false
|
||||
CHUNK_SIZE_MB=95
|
||||
CHUNKED_UPLOADS_ENABLED=true
|
||||
CHUNK_SIZE_MB=50
|
||||
|
||||
# Custom session secrets
|
||||
# By default, a random one is generated
|
||||
|
||||
@@ -216,7 +216,7 @@ def read_exif_datetimes(file_bytes: bytes):
|
||||
try:
|
||||
return datetime.strptime(s, "%Y:%m:%d %H:%M:%S")
|
||||
except Exception:
|
||||
return None
|
||||
return None, None
|
||||
if isinstance(dt_original, str):
|
||||
created = parse_dt(dt_original)
|
||||
if isinstance(dt_modified, str):
|
||||
|
||||
Reference in New Issue
Block a user