diff --git a/apps/miniprogram/miniprogram/app.ts b/apps/miniprogram/miniprogram/app.ts index 5be302e..4e9d104 100644 --- a/apps/miniprogram/miniprogram/app.ts +++ b/apps/miniprogram/miniprogram/app.ts @@ -1,6 +1,6 @@ App({ globalData: { // 生产环境使用外网 HTTPS 地址(不含 /api 前缀,避免路径重复) - apiBaseUrl: 'https://www.lhgy.net', + apiBaseUrl: 'https://lhgy.net', }, }); diff --git a/infra/deploy/compose.local.yaml b/infra/deploy/compose.local.yaml index d51886b..4adbfb0 100644 --- a/infra/deploy/compose.local.yaml +++ b/infra/deploy/compose.local.yaml @@ -89,15 +89,15 @@ services: context: ../.. dockerfile: apps/admin-web/Dockerfile args: - VITE_API_BASE_URL: https://www.lhgy.net/api + VITE_API_BASE_URL: https://lhgy.net/api restart: unless-stopped ports: - '5173:80' environment: - 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 + ADMIN_WEB_ORIGIN: https://lhgy.net + VITE_API_BASE_URL: https://lhgy.net/api + PUBLIC_HOST: lhgy.net + PUBLIC_WS: wss://lhgy.net depends_on: - api networks: