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