mirror of
https://github.com/willchen96/mike.git
synced 2026-06-14 20:55:13 +02:00
Merge pull request #21 from Metbcy/fix/download-secret-fail-fast
fix(security): fail fast when download HMAC secret is missing (closes #7)
This commit is contained in:
commit
0ac2744a8e
2 changed files with 14 additions and 4 deletions
|
|
@ -1,5 +1,10 @@
|
|||
PORT=3001
|
||||
FRONTEND_URL=http://localhost:3000
|
||||
|
||||
# HMAC key used to sign /download/:token URLs. Required at startup.
|
||||
# Generate with: openssl rand -hex 32
|
||||
# Use a dedicated secret distinct from SUPABASE_SECRET_KEY.
|
||||
DOWNLOAD_SIGNING_SECRET=replace-with-a-random-32-byte-hex-string
|
||||
SUPABASE_URL=https://your-project.supabase.co
|
||||
SUPABASE_SECRET_KEY=your-supabase-service-role-key
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue