chore: 更新小程序和 CLAUDE.md 配置为域名访问
- mini-program/.env.production: 更新 API 和 WebSocket 地址为 HTTPS/WSS 域名 - mini-program/src/config/env.js: 更新测试/生产环境默认地址为域名 - CLAUDE.md: 更新生产环境地址为 lifescript.happylifeos.com
This commit is contained in:
@@ -8,11 +8,11 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
||||
|
||||
情绪博物馆 (Emotion Museum) 是一款基于 AI 技术的心理健康应用,通过智能对话、情绪分析、个性化成长方案等功能,帮助用户建立健康的情绪管理习惯。
|
||||
|
||||
**生产环境地址**: `101.200.208.45`
|
||||
- 用户前端:http://101.200.208.45/emotion-museum/
|
||||
- 管理后台:http://101.200.208.45/emotion-museum-admin/
|
||||
- 后端 API:http://101.200.208.45:19089/api
|
||||
- WebSocket:ws://101.200.208.45:19089/ws
|
||||
**生产环境地址**: `lifescript.happylifeos.com`
|
||||
- 用户前端:https://lifescript.happylifeos.com/
|
||||
- 管理后台:https://lifescript.happylifeos.com/emotion-museum-admin/
|
||||
- 后端 API:https://lifescript.happylifeos.com/api
|
||||
- WebSocket:wss://lifescript.happylifeos.com/ws
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
VITE_APP_ENV=prod
|
||||
VITE_API_BASE_URL=http://101.200.208.45:19089/api
|
||||
VITE_WS_URL=ws://101.200.208.45:19089
|
||||
VITE_API_BASE_URL=https://lifescript.happylifeos.com/api
|
||||
VITE_WS_URL=wss://lifescript.happylifeos.com
|
||||
VITE_DEBUG=false
|
||||
|
||||
@@ -21,13 +21,13 @@ const envConfig = {
|
||||
DEBUG: true
|
||||
},
|
||||
[ENV_TYPE.TEST]: {
|
||||
API_BASE_URL: 'http://101.200.208.45:19089/api',
|
||||
WS_URL: 'ws://101.200.208.45:19089',
|
||||
API_BASE_URL: 'https://lifescript.happylifeos.com/api',
|
||||
WS_URL: 'wss://lifescript.happylifeos.com',
|
||||
DEBUG: true
|
||||
},
|
||||
[ENV_TYPE.PROD]: {
|
||||
API_BASE_URL: 'http://101.200.208.45:19089/api',
|
||||
WS_URL: 'ws://101.200.208.45:19089',
|
||||
API_BASE_URL: 'https://lifescript.happylifeos.com/api',
|
||||
WS_URL: 'wss://lifescript.happylifeos.com',
|
||||
DEBUG: false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user