fix: 更新域名从 lhgy.net 到 www.lhgy.net

- 更新 .env.local 中的域名配置
- 更新 infra/deploy/.env.local
- 更新 compose.local.yaml 中的环境变量
- 更新 admin-web 构建参数 VITE_API_BASE_URL
- 更新小程序 app.ts 中的 apiBaseUrl
This commit is contained in:
climber
2026-10-24 19:49:59 +08:00
parent a836d0c1be
commit 4412a416ed
16 changed files with 441 additions and 20 deletions
+6 -6
View File
@@ -59,7 +59,7 @@ services:
OBJECT_STORAGE_ACCESS_KEY: local-dev-key
OBJECT_STORAGE_SECRET_KEY: local-dev-secret
OBJECT_STORAGE_FORCE_PATH_STYLE: 'true'
ADMIN_WEB_ORIGIN: https://lhgy.net
ADMIN_WEB_ORIGIN: https://www.lhgy.net
ADMIN_COOKIE_SECURE: 'true'
AUTH_SESSION_TTL_SECONDS: '86400'
WECHAT_APP_ID: wx6cfca7c83002d678
@@ -89,13 +89,13 @@ services:
context: ../..
dockerfile: apps/admin-web/Dockerfile
args:
VITE_API_BASE_URL: https://lhgy.net/api
VITE_API_BASE_URL: https://www.lhgy.net/api
restart: unless-stopped
ports:
- '5173:80'
environment:
PUBLIC_HOST: lhgy.net
PUBLIC_WS: wss://lhgy.net
ADMIN_WEB_ORIGIN: https://www.lhgy.net
VITE_API_BASE_URL: https://www.lhgy.net/api
PUBLIC_HOST: www.lhgy.net
PUBLIC_WS: wss://www.lhgy.net
depends_on:
- api
networks: