更新开发环境配置,切换 API 基础 URL 至本地地址,并调整开关组件的样式以改善用户交互体验。

This commit is contained in:
乘风
2026-02-09 19:31:47 +08:00
parent ef1cb8cabd
commit 1c4a086124
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
# 对接后端 base URL不改 API 路径,仅改此处即可切换 Next → Gin
# 宝塔部署:若 API 站点开启了强制 HTTPS这里必须用 https否则预检请求会被重定向导致 CORS 报错
# VITE_API_BASE_URL=http://localhost:3006
# VITE_API_BASE_URL=http://localhost:8080
VITE_API_BASE_URL=https://soulapi.quwanzhi.com
VITE_API_BASE_URL=http://localhost:8080
# VITE_API_BASE_URL=https://soulapi.quwanzhi.com