feat: 更新环境配置,添加 CORS 支持并修改服务器地址

This commit is contained in:
2026-01-19 22:30:12 +08:00
parent 944836c748
commit 3e2d1456eb
12 changed files with 208 additions and 13 deletions

View File

@@ -1,6 +1,8 @@
# Server
SERVER_PORT=3001
SERVER_BASE_URL=http://localhost:3001
SERVER_PORT=6667
SERVER_BASE_URL=http://mark.cloud-xl.top:6667
# CORS (comma-separated)
CORS_ORIGINS=http://mark.cloud-xl.top:6666
# Postgres (server-side only)
DATABASE_HOST=127.0.0.1