Files
web/server/.env.example

10 lines
431 B
Plaintext
Raw 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 或 .env.production 后修改
# Go 不会自动加载 .env需在启动前导出变量见项目根目录 .env.example 的说明)
MONGODB_URI=mongodb://localhost:27017
MONGODB_DB=yxd-agent-testing
PORT=8080
GIN_MODE=release
# CORS 允许的来源:对外域名 + 开发时前端地址(多个用逗号分隔)
ALLOWED_ORIGINS=https://yuheng.yuxindazhineng.com,http://localhost:3000,http://localhost:3001