Files
happy-life-star/mini-program/.env.development
T
peanut 30e2836742 fix(mini-program): 修复心愿实现页接口报错 + .env 指向生产服务器
根因:.env.development 指向 localhost:19089,但本地未启动后端,
所有 API 请求 ERR_CONNECTION_REFUSED。

切换至 https://lifescript.happylifeos.com/api(生产服务器),
符合 CLAUDE.md 服务器端验收规则。

此修复与 generationDisplayText + 继续会话 一起完成完整心愿实现流程验证。
2026-07-19 14:17:11 +08:00

14 lines
563 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 开发环境配置(本地开发调试)
VITE_APP_ENV=dev
# 本地环境(本地不启动后端,禁用)
# VITE_API_BASE_URL=http://localhost:19089/api
# VITE_WS_URL=ws://localhost:19089/ws
# 直连后端服务(不经过 Nginx
# VITE_API_BASE_URL=http://101.200.208.45:19089/api
# VITE_WS_URL=ws://101.200.208.45:19089/ws
# 测试环境(H5 走生产服务器后端,符合 CLAUDE.md 服务器端验收规则)
VITE_API_BASE_URL=https://lifescript.happylifeos.com/api
VITE_WS_URL=wss://lifescript.happylifeos.com/ws
VITE_DEBUG=true
VITE_PORT=5180