项目初始化
This commit is contained in:
20
backend/.env.production
Normal file
20
backend/.env.production
Normal file
@@ -0,0 +1,20 @@
|
||||
# 服务器配置
|
||||
PORT=3000
|
||||
NODE_ENV=production
|
||||
|
||||
# 数据库配置
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=WANGjx064200
|
||||
DB_DATABASE=mhxy_web_vue
|
||||
|
||||
# JWT密钥(生产环境请使用更安全的密钥)
|
||||
JWT_SECRET=your-production-secret-key-change-this
|
||||
JWT_EXPIRES_IN=2h
|
||||
|
||||
# 游戏服务端代理地址
|
||||
GAME_SERVER_PROXY_URL=http://127.0.0.1:8080/tool/http
|
||||
|
||||
# CORS配置(生产环境请修改为实际域名)
|
||||
CORS_ORIGIN=http://your-frontend-domain.com
|
||||
Reference in New Issue
Block a user