Banners, additional images, and files upload to Dropbox.
Dropbox file IDs are saved with the article in Supabase. Banners appear in thumbnails and behind the article title/subtitle. Additional images and files appear below the article text.
This commit is contained in:
@@ -21,6 +21,14 @@ JOURNAL_TOKEN_SECRET=replace-with-a-long-random-secret
|
||||
# Mount durable storage here when deploying to a host with an ephemeral filesystem.
|
||||
# JOURNAL_UPLOAD_DIR=/var/lib/portfolio/uploads
|
||||
|
||||
# Article uploads go to Dropbox; use local only for offline development.
|
||||
JOURNAL_MEDIA_STORAGE=dropbox
|
||||
DROPBOX_APP_KEY=
|
||||
DROPBOX_APP_SECRET=
|
||||
DROPBOX_REFRESH_TOKEN=
|
||||
# Optional short-lived token for initial testing; refresh tokens are preferred.
|
||||
DROPBOX_ACCESS_TOKEN=
|
||||
|
||||
# Server-only Supabase article storage. Prefer the new sb_secret_ key.
|
||||
SUPABASE_URL=https://your-project-ref.supabase.co
|
||||
SUPABASE_SECRET_KEY=sb_secret_replace_me
|
||||
|
||||
Reference in New Issue
Block a user