21 lines
476 B
Plaintext
21 lines
476 B
Plaintext
# 服务器配置
|
||
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
|