项目初始化
This commit is contained in:
20
backend/.env.development
Normal file
20
backend/.env.development
Normal file
@@ -0,0 +1,20 @@
|
||||
# 服务器配置
|
||||
PORT=3000
|
||||
NODE_ENV=development
|
||||
|
||||
# 数据库配置
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=WANGjx064200
|
||||
DB_DATABASE=mhxy_web_vue
|
||||
|
||||
# JWT密钥
|
||||
JWT_SECRET=your-secret-key-change-in-production
|
||||
JWT_EXPIRES_IN=2h
|
||||
|
||||
# 游戏服务端代理地址
|
||||
GAME_SERVER_PROXY_URL=http://127.0.0.1:8080/tool/http
|
||||
|
||||
# CORS配置
|
||||
CORS_ORIGIN=http://localhost:5173
|
||||
Reference in New Issue
Block a user