bugfix: .env.example files updated. some minor changes in jwt strategy to avoid failing when .env files does not contain needed keys.
This commit is contained in:
@@ -12,9 +12,13 @@ DOMAIN=dyolink.com
|
||||
|
||||
# Backend Environment (create backend.env from this)
|
||||
# NODE_ENV=production
|
||||
# JWT_SECRET=CHANGE_THIS_TO_STRONG_SECRET_32_CHARS
|
||||
# PORT=3000
|
||||
# DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
|
||||
# CORS_ORIGIN=https://dyolink.com
|
||||
# JWT_SECRET=CHANGE_THIS_TO_STRONG_SECRET_32_CHARS
|
||||
# JWT_EXPIRES_IN=15m
|
||||
# JWT_REFRESH_SECRET=another_long_random_secret_different_from_JWT_SECRET
|
||||
# JWT_REFRESH_EXPIRES_IN=30d
|
||||
# FRONTEND_URL=https://dyolink.com
|
||||
|
||||
# Frontend Environment (create frontend.env from this)
|
||||
# NEXT_PUBLIC_API_URL=/api
|
||||
|
||||
Reference in New Issue
Block a user