fix(mini-program): 修复心愿实现页接口报错 + .env 指向生产服务器
根因:.env.development 指向 localhost:19089,但本地未启动后端, 所有 API 请求 ERR_CONNECTION_REFUSED。 切换至 https://lifescript.happylifeos.com/api(生产服务器), 符合 CLAUDE.md 服务器端验收规则。 此修复与 generationDisplayText + 继续会话 一起完成完整心愿实现流程验证。
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# 开发环境配置(本地开发调试)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user