Files
Mycontent/reactH5/.env.development.example
乘风 c78a0d531f feat: enhance login modal and avatar selection process
- Updated the login modal to include a user agreement section with clickable links to the user agreement and privacy policy.
- Improved button styling and layout for better user experience.
- Refactored avatar selection process to utilize local image paths, enhancing compatibility and reliability across different environments.
- Added utility functions for resolving avatar file paths and selecting images from the gallery or camera.

This update aims to streamline user interactions during login and avatar selection, ensuring a smoother experience.
2026-05-06 17:21:10 +08:00

17 lines
972 B
Plaintext
Raw Permalink 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.

# reactH5 本地开发 · 对接 soul-api
# 复制为 .env.development 后按需修改(.env.development 可加入本地 .gitignore
# ---------- 模式 A推荐浏览器请求相对路径 /api由 Vite 转发到 soul-api ----------
# 留空则 fetch 走当前 dev 源(如 http://localhost:5173/api/...),依赖下方代理
VITE_API_BASE_URL=
# 代理目标vite.config 默认已是 http://127.0.0.1:9100仅连线上时取消注释下一行
# VITE_PROXY_TARGET=https://soulapi.quwanzhi.com
# ---------- 若 h5/login-by-phone 仍 403 ----------
# 说明代理到的 soul-api 在 release 且未开 H5线上须 H5_PHONE_LOGIN_ENABLED=1本地须 GIN_MODE=debug 等(见接口返回 error 全文)。
# ---------- 模式 B浏览器直连 soul-api需 soul-api CORS 含 H5 源,默认已含 localhost:5173----------
# VITE_API_BASE_URL=http://127.0.0.1:9100
# 直连时 VITE_PROXY_TARGET 不参与浏览器请求,可保留或删除