Files
dickloads/.env.example
Falkan 5ec1222720 fix: remove debug logging from login route; fix .env.example formatting
- Remove console.log debug lines added during password troubleshooting
- .env.example: restore correct formatting, add note about $ escaping with
  single quotes + backslashes for bcrypt hashes
2026-03-20 00:23:16 -04:00

19 lines
712 B
Plaintext

# Copy this to .env and fill in values for local development.
# In production, set these as environment variables / Kubernetes secrets.
#
# NOTE: Values containing $ must be quoted with single quotes + backslashes:
# PASSWORD_HASH='$2b$12$...'
# bcrypt hash of the admin password. Generate with:
# python3 -c "import bcrypt; print(bcrypt.hashpw(b'yourpassword', bcrypt.gensalt(rounds=12)).decode())"
PASSWORD_HASH=
# Random secret for signing session tokens. Generate with:
# openssl rand -hex 32
SESSION_SECRET=
# Comma-separated list of additional allowed origins for CSRF.
# Add your dev machine's IP here if accessing via IP address.
# e.g. ALLOWED_ORIGINS=http://192.168.0.94:5173
ALLOWED_ORIGINS=