通过 VITE_AUTO_FILL_TEST 环境变量控制,在 .env.test 中启用, 使测试环境构建后登录框也能自动填充测试账号,方便测试人员使用。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 lines
153 B
Plaintext
5 lines
153 B
Plaintext
# 开发环境
|
|
VITE_API_BASE_URL=/api
|
|
# 乐读派 AI 创作后端地址(直连,不走 Vite 代理)
|
|
VITE_LEAI_API_URL=http://192.168.1.120:8080
|