Files
d1kt/.env.production.example

26 lines
717 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 生产环境配置示例
# 复制此文件为 .env.production 用于生产环境构建
# Server Configuration
SERVER_PORT=5001
# API 基础地址配置
# 生产环境设置为 Nginx 代理地址(含第一层 /api
# Nginx 配置location /api/ { proxy_pass http://localhost:5001/; }
# 最终请求路径https://d1kt.cn/api/api/xxx → 后端接收 http://localhost:5001/api/xxx
REACT_APP_API_BASE_URL=/api
# Client Configuration
CLIENT_PORT=3001
REACT_APP_CLIENT_URL=https://d1kt.cn
# MongoDB Configuration
MONGODB_URI=mongodb://localhost:27017/typeskill
MONGODB_DB_NAME=typeskill
# JWT Configuration
JWT_SECRET=your_production_jwt_secret_key_change_this
JWT_EXPIRES_IN=24h
SKIP_PREFLIGHT_CHECK=true