# 当前环境: development | test | production NEXT_PUBLIC_APP_ENV=development # 后端 API 基础 URL(按环境区分) # development: http://172.16.48.49:3002 # test: https://api.cozsweet.com # production: https://api.cozsweet.com NEXT_PUBLIC_API_BASE_URL=http://172.16.48.49:3002 # WebSocket URL(按环境区分,可选) # development: ws://172.16.48.49:3002 # test: wss://api.cozsweet.com # production: wss://api.cozsweet.com NEXT_PUBLIC_WS_BASE_URL=ws://172.16.48.49:3002 # API 超时时间(毫秒) NEXT_PUBLIC_API_CONNECT_TIMEOUT=30000 NEXT_PUBLIC_API_RECEIVE_TIMEOUT=60000 NEXT_PUBLIC_API_SEND_TIMEOUT=30000 # Google OAuth 2.0 Client ID / Secret (Google Cloud Console → APIs & Services → Credentials) AUTH_GOOGLE_ID= AUTH_GOOGLE_SECRET= # Facebook App ID / Secret (Facebook Developers → 应用设置 → 基础) AUTH_FACEBOOK_ID= AUTH_FACEBOOK_SECRET= # Cloudflare CDN(test / production 部署后刷缓存用,scripts/deploy/_deploy_lib.sh 的 purge_cdn_cache 读这里) CF_ZONE_ID= CF_API_TOKEN=