Files
nianxx-h5/.env.development
DEV_DSW a75bb909f1 chore: dev proxy config, sprite animator refactor, cleanups
- add vite dev proxy for `/ingress` to forward requests to backend https://onefeel.brother7.cn
- update .env.development to use relative proxy paths instead of full backend URLs
- move SpriteAnimator component to correct directory, update all imports and global type declarations in components.d.ts
- remove unused CSS styles and fix styling for ChatTopNavBar component, including switching to van-icon and hardcoding temporary site name
- uncomment and enable the ChatMainList component in home page
- clean up unused code, fix formatting, and set default client ID in src/utils/request.ts
- comment out redundant uni API calls in ChatMainList to simplify code
- update WebSocket URL handling to support relative paths in ChatMainList
2026-05-27 10:40:21 +08:00

12 lines
234 B
Plaintext

# 开发环境配置
VITE_APP_ENV = 'development'
# API 基础 URL
VITE_API_BASE_URL = '/ingress'
# API 请求超时时间(毫秒)
VITE_API_TIMEOUT_MS = 10000
# Socket 基础 URL
VITE_SOCKET_BASE_URL = "/ingress/agent/ws/chat"