docs: Update .env.example with new JWT refresh settings

This commit is contained in:
Yunxiao Xu
2026-02-18 14:11:28 -08:00
parent 7cc34ceb0b
commit 341bd08176

View File

@@ -8,11 +8,13 @@ DATA_STATE=new_jersey
LOG_LEVEL=INFO LOG_LEVEL=INFO
DEV_MODE=true DEV_MODE=true
FRONTEND_URL=http://localhost:5173 FRONTEND_URL=http://localhost:5173
API_V1_STR=/api/v1
# Security & JWT Configuration # Security & JWT Configuration
SECRET_KEY=change-me-in-production SECRET_KEY=change-me-in-production
ALGORITHM=HS256 ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30 ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
# Voter Database Configuration # Voter Database Configuration
DB_HOST=localhost DB_HOST=localhost