feat: simplify environment configuration by hardcoding token TTLs and removing unnecessary variables
This commit is contained in:
@@ -4,9 +4,7 @@
|
||||
# Copy this file to .env and adjust values for your setup
|
||||
# =============================================================================
|
||||
|
||||
NODE_ENV=production
|
||||
PORT=3000
|
||||
DATABASE_URL=file:./data/medassist-ng.db
|
||||
CORS_ORIGINS=http://localhost:4174
|
||||
LOG_LEVEL=info
|
||||
|
||||
@@ -17,8 +15,6 @@ TZ=Europe/Berlin
|
||||
JWT_SECRET=CHANGE_ME_generate_with_openssl_rand_hex_32
|
||||
REFRESH_SECRET=CHANGE_ME_generate_with_openssl_rand_hex_32
|
||||
COOKIE_SECRET=CHANGE_ME_generate_with_openssl_rand_hex_32
|
||||
ACCESS_TOKEN_TTL_MIN=15
|
||||
REFRESH_TOKEN_TTL_DAYS=14
|
||||
|
||||
# SMTP (optional - for email notifications)
|
||||
SMTP_HOST=
|
||||
|
||||
Reference in New Issue
Block a user