| 1234567891011121314151617181920212223 |
- # Production Environment Variables
- # Copy this file to .env.production and fill in your actual values
- # Server Configuration
- NODE_ENV=production
- PORT=3001
- # Session Configuration - CHANGE THIS SECRET IN PRODUCTION!
- SESSION_SECRET=generate_a_secure_random_string_here
- # CORS Configuration - Update with your actual domain
- FRONTEND_URL=https://your-domain.com
- # Database/Storage paths (relative to backend directory)
- POSTS_DIR=../public/posts
- THEMES_FILE=./themes.json
- # AI Configuration
- GEMINI_API_KEY=your_gemini_api_key_here
- # Security Settings
- COOKIE_SECURE=true
- COOKIE_SAME_SITE=strict
|