feat: simplify environment configuration by hardcoding token TTLs and removing unnecessary variables

This commit is contained in:
Daniel Volz
2025-12-25 14:54:38 +01:00
parent 09bd7dc34a
commit 5900fddb2d
6 changed files with 7 additions and 14 deletions
-4
View File
@@ -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=