1.修改代码适配阿里云的服务器

This commit is contained in:
whm
2026-03-17 14:27:32 +08:00
parent 826617d737
commit 20e7f3a65d
1777 changed files with 775041 additions and 10 deletions

View File

@@ -5,5 +5,5 @@ MONGODB_URI=mongodb://localhost:27017
MONGODB_DB=yxd-agent-testing
PORT=8080
GIN_MODE=release
SERVER_DOMAIN=https://api.example.com
ALLOWED_ORIGINS=
# CORS 允许的来源:对外域名 + 开发时前端地址(多个用逗号分隔)
ALLOWED_ORIGINS=https://yuheng.yuxindazhineng.com,http://localhost:3000,http://localhost:3001