Files
zclaw_openfang/desktop/.env.production
iven 4e641bd38d
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
refactor(desktop): SaaS URL 集中配置化,消除 5 处硬编码
- 新增 .env.development / .env.production (VITE_SAAS_URL)
- saasStore.ts / LoginPage.tsx / saas-client.ts / SaaSLogin.tsx
  统一读取 import.meta.env.VITE_SAAS_URL
- 移除 LoginPage 中未使用的 isTauriRuntime import
2026-04-11 02:09:23 +08:00

6 lines
203 B
Plaintext

# SaaS 服务地址(生产环境)
VITE_SAAS_URL=https://saas.zclaw.com
# Gateway 服务地址(生产环境)
VITE_GATEWAY_HTTP=https://gateway.zclaw.com
VITE_GATEWAY_WS=wss://gateway.zclaw.com/ws